build.xml: add version string to jar file and call clean before dist
source: add Javadoc to public methods, change some parameters