Enable javadoc generation and distribution
Fix javadoc warnings
Merge branch 'api-docs'