Use g-d-m 3.1.2.BUILD-SNAPSHOT
GRAILS-11572 - tests for criteria type checking

This change requires recent changes in grails-data-mapping 3.1.2.
GRAILS-11576 - more flexible exception handling

Controller exception handler methods can now catch exceptions thrown during command object initialization.