Refactored PerForeignKeyTemplatesTestTemplateBuildHandlerTest. refs #474
Implemented PerCustomResultTemplatesTestTemplateBuildHandler. refs #476
Implemented PerSqlTemplatesTestTemplateBuildHandler. refs #477