[GRAILS-10982] Fixing key GString conversion

Fixing key GString conversion to String from map passed to findWher
fix invalid cast
Merge branch 'master' of github.com:grails/grails-data-mapping
Merge pull request #5 from davydotcom/patch-2

[GRAILS-10982] Fixing key GString conversion
GRAILS-10984 - StackOverflow with circular dependencies
Merge pull request #6 from longwa/GRAILS-10984

GRAILS-10984 - StackOverflow with circular dependencies