Leaderboardfactory used in quiz.
Quiz now delegates to factories and  leaderboard methods.
Removed incorrect use of Session::destroy; now using end() method in class.
Moved user registration/randomisation from Quiz class to own User class methods.
User now a dependency of Quiz.
Updated relevant client code.
Minor changes to Session classes on the way to making them static.