Mayor Ekrem Imamoglu was detained following a raid on his residence sparking the largest wave of street demonstrations in more than a decade.