Updated tests to cover more cases (not quite done yet)

Added auto-cleanup of sandboxes to the shutdown (test) method

Renamed DELETE_CHROOT to DELETE_SANDBOX
Added automatic sandbox cleanup (via traps)

...and damn if it isn't near-impossible to test.

Also tightened up quoting of some variables.
The prior commit actually finished a story!