Make project Java 6 compliant
Add build and OS X stuff to .gitignore