Added support for package name specification for Mongo, dynamic entity generation. Fixed problems with mapping element name ordering in generated xml. Refined entity naming to singularise entity names where possible.