Polish for extra debug-mode settings.

Split template_cache into two settings, for template and static files.
Rename several options.  Update docs.