Fix inconsistencies in javadocs.

 - Remove self-closing <p/> tags.
 - Add missing <p> tags.