[JAVA-1410] Javadoc for com.mongodb package. All missing Javadoc covered except for DBEncoder/Decoder-related classes; some gradle changes to prevent errors with the javadoc check.