Made test a bit more robust to timing issues.
DefaultServer.invalidate needs to invoke the change listeners.
Added toString method to MongoClientOptions, ServerSettings, SocketSettings, SSLSettings.
JAVA-1047: Removed deprecated methods related to getlasterror command. Ported Javadoc from master.
Fixed the problem of the test directories not being correctly set up in IntelliJ for driver-compat