Add withJavadoc setting

plus a command line option "with-javadoc=true"
Merge pull request #191 from guymers/javadoc

Add withJavadoc setting