fix for GRAILS-10720 "Cannot create mock for class" - Horrible, horrible hack, but not choice due to https://code.google.com/p/spock/issues/detail?id=335
Merge branch '2.3.x'