Automatic versioning of templates in Magnolia