Improve support for specifying handlers on the command line

This touches a bunch of stuff, allowing us to list handlers and treat defaults
more sensibly.
Implement archive writing, add archive/restore to tool
Fix setup.py
herp: handler list
Fixes to various stuff