A Turkish journalist has been arrested for social media posts regarding the investigation of an opposition mayor with supposed links to the outlawed PKK.