Fixed javadocs errors and added javadoc and source attachment to release
building.