Cleanup after `server` and `build` commands.

Ensure that `tmp/` is cleaned up when the command is finished.

@danmcclain / @rjackson
Merge pull request #444 from rjackson/pruning

Cleanup after `server` and `build` commands.