Added options class for MongoDatabase and MongoCollection
Added TODO for perf test
Fixed size back-patching bugs
Cleaning up output buffer API
Removed inheritance relationship between com.mongodb.DBRef and org.mongodb.DBRef.  This forced another change in driver-compat, which now has to subclass DocumentSerializer with its own implementation which handles com.mongodb.DBRef.
Added new module, common, for thread safety annotations
Added thread safety annotations to core classes
removed unnecessary try/catch
Replacing deprecated junit.framework with org.junit.
Fixed a bunch of warnings
Fixed a bunch of warnings
More .idea changes
Use this() in constructor
Merge branch '3.0.x' into 3.0.x-stream

Conflicts:
	driver-compat/src/main/com/mongodb/DBCursor.java
	driver/src/main/org/mongodb/MongoCollection.java
	driver/src/main/org/mongodb/MongoCursor.java
	driver/src/main/org/mongodb/impl/MongoCollectionImpl.java
	driver/src/main/org/mongodb/impl/MongoDatabaseImpl.java
Removed redundant annotaiton classes that are now in common
Merge branch '3.0.x' into 3.0.x-stream

Conflicts:
	driver-compat/src/main/com/mongodb/DBCursor.java
	driver/src/main/org/mongodb/MongoCollection.java
	driver/src/main/org/mongodb/MongoCursor.java