Creating our own error handler here so we can use nunjucks for errors falling back to a noddy 500 if it blows up.

This was mainly because we want proper escaping in our templates and the 'error' modules middleware didn't have any.