Error controller to handle HTTP errors.

Fixes #257 and #310.
Why are we using the `create` RESTful semantics? I know @VitSalis suggested this, but it doesn't seem that the user is asking for an error to be created here - only viewing an error that has occurred.