add a pre 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 would
run "bundle package" in order to bundle the gems in the tarball.