Fix NPE in CS mode (reported GROOVY-6137)
Fix NPE when grails.gorm config is null
Fix GrailsHibernateTransactionManager runtime errors, remove @CompileStatic