Modernise the MongoDB driver

Resolve compile time and runtime warnings about deprecation.
Change Groovy to Java.
Fix integration test failures.
Add PNG logo.
Merge pull request #563 from richardcloudsoft/mongodb-modernise2

Modernise the MongoDB driver