Istanbul Mayor Ekrem Imamoglu is in custody after being detained on corruption, terror charges, which led to protests.