CORE-5502: Ensured that new app template id is set on save.
Merge pull request #3 from iPlantCollaborativeOpenSource/CORE-5202

No problems with this commit. Only comment is to maybe split out import changes as a separate commit if they're unrelated to functionality changes.