Added some unit tests.
Pickup new Java generated files.
Build: be more precise about Java files added to package.
Update git ignores.