chroot support

I've managed to get some pretty basic chroot functionality working.

I believe this is very useful to run the miner as an isolated a process as possible, and would love to see this feature in a future release.