Implement render_error
Changes in panic
Rework psgi to allow for sophisticated error rendering