Fix inconsistencies in javadocs.

These changes were made with consistency in mind, in relation to the rest of the project:
 - Change self-closing \<p/> tags to regular \<p> tags.
 - Add missing \<p> tags.