move TemplateUtils to util package and rename to be consistent with other util classes. Fixes #11