Added code to support to register custom user type for enums.
Removed print statements.
Added comments.
Moved Enum type marshaller from the app to support enum id for mongodb.
Dynamically finding collection type from hasMany field instead of
storing in Basic.java holder.
Added support for not equal in enum numbers for mongodb.
Fixed comments & added missing import. Fixed normal enum saving.
Moved EnumType to appropriate package and added apache license and
comments.
Reverted old code of enum ordinal. Added support for ordinals in
EnumType and hence fixed query when using ordinals.
adding readOnly support on CriteriaBuilder which is used on unit tests
GRAILS-11670 - Adding readOnly to the Criteria interface and implementing on the hibernate implementation.
GRAILS-11670 Throwing UnsupportedOperationException when subclasses of CriteriaBuilder don't implement readOnly.

Added a new Class to be used as the default implementation.
GRAILS-11670 - test invoking readOnly in a criteria query
Merge pull request #1 from jeffbrown/GRAILS-11670_tests

GRAILS-11670 - test invoking readOnly in a criteria query
Merge pull request #41 from causecode/mongo-enum-id

MongoDB enum identity number support
Merge pull request #42 from gpsantos/GRAILS-11670

Grails 11670
Revert "Merge pull request #42 from gpsantos/GRAILS-11670"

This reverts commit c0ad1374a04620b09b74853b484aeef6cf42b209, reversing
changes made to 1d2c066841ba84d6112cbc76c9109af7a94fd170.
Moved enum reading to EnumUtil so code can be reused.
Now uses standard GORM based Exceptions to indicate datastore errors.
GormCassandraSessionFactoryBean now carries out createTable as it now
handles table options etc
Moved to utils package
Exclude cassandra-all; for test purposes and not needed by plugin, 
which removes commons-lang3, so add it back explicitly to use its type
safer EnumUtils