A number of changes have left the debian package broken including the
javalibdir changes and version bumps. Fix these minor issues.
Then I also automated the version number creation so that every time you
call pkg/build-debian.sh it generates a new version number if the HEAD
has moved. It is a little hacky but solves the version bumping issue for