test for http://jira.grails.org/browse/GRAILS-9695, currently marked as @Ignore until we fix it. Add a few other tests from datastore as well

Conflicts:
	grails-test-suite-persistence/src/test/groovy/org/codehaus/groovy/grails/orm/hibernate/WhereMethodSpec.groovy
fix for GRAILS-9695 "2.1.3 breaks where queries on hasMany associations more than one level deep"