Handle UDT and tuples in BuiltStatement.toString (JAVA-416).

Patch submitted by Dan Jatnieks.
Fix tokenMap initialization at startup (JAVA-415).
Merge pull request #215 from olim7t/java415

Fix tokenMap initialization at startup (JAVA-415).
Generate test-jar only for core + workaround to make mvn test-compile work (JAVA-414).
Restore per-module javadoc generation.

(this is required by Sonatype OSS repo).
Javadoc fixes.

Initial patch submitted by Robert Stupp.
Merge branch '2.0' into 2.1
Avoid deadlock on close (JAVA-418).
Merge branch '2.0' into 2.1
Merge branch '2.1' into custom_duration