allow user-defined templates to be specified

This allows people like me to specify a different erb template, either to fix unexpected issues (dotted VO names for instance), or anything different than the default templates allow.