Use RenderContext instead of DefaultRenderContext
The code doesn't rely on the context being a DefaultRenderContext, and this causes problems when Scalatra renders Scalate's 500.scaml page since the static type of context that gets passed to ConsoleHelper is RenderContext.