Added TemplateBuildHandlerTemplateFactory. refs #418