Allow use of Django debug toolbar with JSON views

Usage example: http://localhost:8000/json/Spark/2014/stats?json_debug

@benjaminjkraft, have fun with the query optimization.
I made an attempt at pretty-printing that didn't actually work. I'm guessing that this would be an issue as long as it's still extending main/html.