Add license headers and fix gemspec to include all files.
Add jar to gitignore.