adding readOnly support on CriteriaBuilder which is used on unit tests
GRAILS-11670 - Adding readOnly to the Criteria interface and implementing on the hibernate implementation.
GRAILS-11670 Throwing UnsupportedOperationException when subclasses of CriteriaBuilder don't implement readOnly.

Added a new Class to be used as the default implementation.
GRAILS-11670 - test invoking readOnly in a criteria query
Merge pull request #1 from jeffbrown/GRAILS-11670_tests

GRAILS-11670 - test invoking readOnly in a criteria query
Merge pull request #42 from gpsantos/GRAILS-11670

Grails 11670