Fixes javadoc errors.

This should fix all javadoc errors. I did not fix the warnings. Most of them are about missing parameter descriptions. Adding placeholders would remove the warnings, but wouldn't help users of the library.