Cpm project templates
- modifies the
cpm project ... createcommand to optionally accept a template file.
- adds the
cpm project ... template <template.prt>command to export the current project as a template file.
It also isolated the logic for reading in templates which is now shared between the IDE and cpm.