Added an ExceptionHandler, later used to report errors to a database and
send emails when fatal errors occour