chroot: add before/after hooks

I've expanded the notion of the ```chroot_hook``` option to allow both before and after hooks.  I have some installation tasks in my ```chroot_script``` that require some files from the working directory to be available in the root filesystem.  It seems that having a before hook is a good approach to specify a script to run outside of the chroot jail before the ```chroot_script``` runs.