Updated the database patching script
Attempts to improve the performance of Gorm with Mongo. Mostly failed attempts, admittedly.
Made the Grails and Maven build processes a bit more consistent. Grails can now be used to log MongoDB using a command like: grails -DDEBUG.MONGO=true -DDB.TRACE=true run-app. This doesn’t work in Maven due to forking differences.
Significant performance improvements in histograms finally, this us due to the bad slowdown in Grails with MongoDB. Using gmongo directly is an order of magnitude faster