Russian opposition activist Alexei Navalny was briefly detained in Moscow on Thursday, ahead of the country's presidential election from which he has been banned.