Ensure document keys can't contain NULL character (JAVA-891)
Merge pull request #129 from rozza/JAVA-891

Ensure document keys can't contain NULL character (JAVA-891)
Fixed broken test from last commit
Fix for BasicBSONObject equals method

very large Long values were being converted to doubles for comparison
and incorrectly considered equals
Changed test of addUser so that it actually work when mongod is started with --auth
Updated travis config to add flowdock notification
Fixing travis config syntax error
JAVA-891: Added an additional check for NULL character to BasicBSONEncoder.
Improve javadoc of JSON.parse() and JSONParseException.
JAVA-838: deprecate DB.authenticate
JAVA-875: deprecate JMX mechanism
JAVA-878: deprecate DB#setReadOnly()
JAVA-877: move org.bson.LazyDBList to com.mongodb
JAVA-900: deprecate c.m.WriteResult.getLastError(WriteConcern)
JAVA-904: drop support of BSON DBPointer type
JAVA-897: deprecate DBConnector & DBApiLayer
JAVA-896: deprecate exceptions nested under DBPortPool & MongoException
JAVA-874: deprecate {com.mongodb,org.bson}.util classes
JAVA-839: update ObjectId api

Deprecated:
- ObjectId(java.util.Date, int, int)
- ObjectId(String,boolean)
- ObjectId(int,int,int)
- toStringMongod()
- toStringBabble()
- babbleToMongod()
- getTimeSecond()
- getMachine()
- getInc()
- getGenMachineId()
- getCurrentInc()
- getTime()
- isNew()
- notNew()
- massageToObjectId(Object)
- _flip(int)
- _inc()
- _machine()
- _time()

Added:
- toHexString()
- getTimestamp()
- getDate()
- getCurrentCounter()
JAVA-880: deprecate several methods in o.b.i.OutputBuffer