Improved error logging

Errors and exceptions are handled in the same way and printed in a table
at errorlog.html
Todo: exception trace
Static access to Model::$_db

And other minor edits
Removed useless helpers, phpmailer and password