GRAILS-11177 GRAILS-10063 Disable making Hibernate session, queries and criterias read-only when current transaction is read-only
- add new configuration option "grails.hibernate.pass.readonly" for enabling previous behaviour