Grails-10520

This includes fix for eagerly loaded domain objects. 
http://jira.grails.org/browse/GRAILS-10520