Fix warning about git global not being declared
support for comma seperated list of templates in addtemplate

Fixes #31