Add custom pages for HTTP errors

Fixes https://trello.com/c/wLXMh7CP/58-add-html-on-http-errors.