Fix JAR classpath
Add build and dist to gitignore
Add User-Agent string
Add real tests