GRAILS-10917 Fix for returning the correct model when a domain with errors is returned to an HTML renderer
GRAILS-10917 Undid formatting changes
Merge pull request #438 from bodiam/master

Fix for GRAILS-10917