Virtual templates fixes

* Templates should have an unique ID, otherwise what's the point of it
* M2 --> M1 should have a content type of maven1

https://bamboo.zion.sonatype.com/browse/NX-OSSF24