fixes #599 enforces unique template name, made validation reporting consistent, and displayed import file requirement