Merge pull request #114 from lhotari/master

GRAILS-7974 fix (concurrency bug in convertIdentifier) + use @CompileStatic in HibernateGormStaticApi
Merge pull request #115 from lhotari/master

Fix tests that failed after switching HibernateGormStaticApi to use @CompileStatic
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