add a pre package script hook called pre-package

This way we can add extra binaries into the tarball, for example,
if this is a ruby on rails application, the pre script hook could
run "bundle package" before creating the tarball, so that the gems
will be bundled in the tarball.