Add pre and post chroot hooks

This PR will allow plugin developers to run custom commands before entering and after exiting the chroot environment.

This will allow people to run commands that add/modify/remove files from the mounted volume.