Update GroovyTemplateEngine.java

support for layouts in templates