add codecRegistry
bug fix
add default codecregistry to mongo
remove unused imports
add docs
\codereview changes
Add database options test
[Build] Upgrade gradle; upgrade groovy; upgrade findbugs so it works with Java 8; remove unused bits of the build; trying to centralise configuration of source sets.
Merge branch 'registry-option' of https://github.com/guoyr/mongo-java-driver into guoyr-registry-option
Merge branch 'guoyr-registry-option' into 3.0.x
Removed unused package-private method in Mongo class
Removed unused query encoder from UpdateCommandProtocol constructor
WIP: New CRUD API
JAVA-1303: WIP
JAVA-1303: Renamed QueryFlag to CursorFlag.  Added it to FindModel
JAVA-1303: WIP for QueryOperation