added ant build script

Added a simple ant build script to build this from command line, and a .gitignore to avoid committing the compiled files.