Build fixes.

Removed `examples/lib` from the `project.classpath` generated by `examples/build.xml`.

I also added a really straightforward `.gitignore` that covers some of the stuff automatically created during a build.