Widespread protests across Turkey have intensified after Istanbul's mayor - a key challenger to President Recep Tayyip Erdogan - was detained over allegations of corruption and links to terror organisations.