Added Ant and Ivy scripts

Should theoretically work once the .java files are debugged and can
compile cleanly.  Changed .gitignore to keep .class and .jar files away
from the repository.