Added support for custom Pandoc templates

Place a template in ~/.pandoc/templates/ and set "pandoc_template" in
the settings file to configure.