settings: Add JINJA_TRIM_BLOCKS to make whitespace trimming configurable

The relevant Jinja docs are here:

  http://jinja.pocoo.org/docs/templates/#whitespace-control
generators: Tweak TemplatePagesGenerator to expand template content

This allow you to use |filename| linking in your template pages (but
not in the direct templates living in the theme).