Add packaging helpers

- tools/package.sh - generates an output dir suitable for packaging as a WebApp
- tools/explode.sh - converts a compressed jar to an uncompressed jar