Implemented PerSqlTemplatesFeatureTemplateFactory.java. refs #477