Implemented initial version of PerRepositoryTemplatesTest.stg. refs #475