Add task to create a javadoc archive.
Remove dependencies, per similar change in client.
Configure Circle to build JavaDoc.

Needs the BUILD_JAVADOC parameter to be set.