Changes in exception handling.

The Views/JsonMiddleware is now responsible for processing all types of
exception (Exception inherited) that may be thrown throught the app.
ModelException types are handled separately by also spitting out the SQL
code.

Additionally HTTP 500 errors now print JSON that contains timestamp of
when the error occured. This might help with finding what exactly failed
in the log files.