test for GPMONGODB-251
test for GPMONGODB-196
test for GPMONGODB-290 "Accessing dynamic property on embedded entity triggers save, creation of new Mongo Collection"
GPMONGODB-279
add fallback to throw exception to avoid infinite loop if server is down
GRAILS-10067 - Allow failOnError override
Merge pull request #117 from longwa/GRAILS-10067

GRAILS-10067 - Allow failOnError override
Merge branch '1.x'
upgrade to groovy 2.1.3
Use @CompileStatic for HibernateUtils and InstanceProxy
remove convertIdentifier from HibernateGormStaticApi and refactor duplicate method in HibernateUtils
Use parameterized generic type in HibernateGormInstanceApi and use @CompileStatic
use CompileStatic for GrailsHibernateTransactionManager
Implement GRAILS-10063, set readonly flags for Hibernate session, criteria and query in readonly transactions.
reduce dirty checking overhead
add CompileStatic and generics type parameter to HibernateGormValidationApi and HibernateGormEnhancer
Use CompileStatic for AbstractDatastoreApi, GormInstanceApi and GormStaticApi
Implement GRAILS-10064 Make it possible to set the OSIV session to read-only by default
Hold MetaClass of Javassist proxy in the MethodHandler
delegate Hibernate proxy's MetaClass methods to superclass's MetaClass