Adding a default error page

Inspired by the [express error handler](https://github.com/expressjs/errorhandler) but with some minor modifications. I'm wondering if checking for a view engine is the right thing to do here.