extract render detailed exception in own method

Refactor: Improves readability and modularity.

We're using Frisby.js.  In our own project we monkey patched `DebugExceptions#render_exception` to return a JSON response which includes the stacktrace, it makes debug easier.

With this extraction you'll only have to override the logic that actually renders the HTML.