per-entry template for full-text view using layout: foo.html

or template: foo.html in the metadata information. This will only
affect the entry, page and translation view.
fix sitemap generation for output_dir without trailing slash
fix jinja2-templating test broken by 30b4acd