Add Groovy markup templating support to the MVC config

Issue: SPR-11998
Polish