France's former economy minister Emmanuel Macron has thrown his hat into the ring for the French presidency, announcing that he would stand in next year's election.