Ahmed Douma, a leading figure in the country's 2011 uprising, has been released after spending the last decade behind bars.