Extract TemplateRenderer, AssetHandler, and configure_logging from GurtelApp.
Test (and fix) TemplateRenderer's asset handling.