Istanbul's Mayor Ekrem Imamoglu, a key opposition figure, has been jailed on corruption charges, triggering massive street protests across Turkey.