Moved send mail function to new MailManager.
Renamed old handler to resetcodehandler.
Moved getUser() and isAuthenticated() function from Utils to Session.
Fixed a MySQL query bug in RowHandler.
Added Session, this serves as a replacement for the former Utils when dealing with sessions.
No more MySQL queries directly from User.
Updated json api to use the new Session feature.