all: Move shutdown handlers into pkg/shutdown

Signed-off-by: Lewis Marshall <lewis@lmars.net>
test: Cleanup on exit

Signed-off-by: Lewis Marshall <lewis@lmars.net>
Merge pull request #487 from flynn/fix-ci-disk-usage

Fix CI disk usage