Use Template Toolkit for templates, if it's installed.

Closes #51.