Add --templates-dir=dir option

Allow to override location of the templates
Merge pull request #2 from mclap/templates-dir

Add --templates-dir=dir option