Hungary's President has resigned, after being stripped of his doctorate over claims he plagarised his thesis. Al Jazeera's Tim Friend reports.