[JAVA-1391] Javadoc for com.mongodb.codecs package

Added missing Javadoc for com.mongodb.codecs package. Also some tiny tidy ups, like making methods private and removing @SuppressWarnings where possible.