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.
Merge pull request #41 from causecode/mongo-enum-id

MongoDB enum identity number support