Beef up the internal server error class

* Add tests for it
* Ensure we set a Content-Type header (Fixes #42)

Signed-off-by: Alistair Scott <alistair@rightscale.com>