add ant build targets: jar and javadoc

official ways to build the release jar and javadoc files.
standard script for setting up ant builds
fix all warnings
fetch-test-report ant target for getting JUnit report to Jenkins