GRAILS-11672 - add the cache(boolean) method to the Criteria interface
improve static type checking possibilities for criteria queries