Handle 500 errors nicely

Adds
* Nice 500 error
* Debug details in output
* Ability to email team on 500 error.#


TODO

* [ ] get feedback on text /design for 500 page
* [x] test email functionality on server