Set permissions attribute in Ant; add sign target.

We now have a code signing certificate, so the installer jar should be
signed.
Remove permissions attribute update from build-all

The Ant build script does it now, which is more appropriate.
Sign jar in build script.
Fix update.sh when called from other directories