added support for adding and updating templates
Merge pull request #41 from PaysonAktiebolag/master

added support for adding and updating templates