add codecRegistry
bug fix
add default codecregistry to mongo
remove unused imports
add docs
\codereview changes
Add database options test
JAVA-1349: Added removed MapReduceCommand methods to clirr exclusions
Added ServerDescription to ConnectionSource and AsyncConnectionSource
JAVA-1402: Removed MapReduceOutput.serverUsed property
[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
Allow count to work with query hints

JAVA-1344