Ant build.xml for compiling without Eclipse.

A quick alteration of the sample file from http://ant.apache.org/manual/using.html
Might need some cleanup.
Trim trailing whitespace when writing lines in java ref.
Recompiled webref generators.
build.xml cleanup and explanation in README.md