views/error: Add a status 500 page

Issue #242.
middleware: Define exception wrapper

Issue #242.
Merge branch 'issue/242'