Basic Jinja2 implementation

Not all changes are documented yet. I plan to make more elaborate use
out of Jinja2 templates soon, including the use of blocks. For now, it
is just simple variables and is not very flexible, but it serves my
own very narrow purposes for the time being.