Implemented PerForeignKeyTemplatesFeatureTemplate and PerForeignKeyTemplatesFeatureTemplateFactory. refs #474