Use template rendering methods that include context processors, and add debug custom context processor

As discussed with @dylanjbarth, this is so that we have access to context processor variables, like "debug", from within the templates.