GRAILS-11614 unwrap possible HandleMetaClass instance
GRAILS-11614 add additional check to test that a proxy is returned
GRAILS-11614 handle special case of setProperty when property is "metaClass"