Add the `peep hash` command. Bump version to 0.6.

Also...
* Pass only the necessary parts of the argv around.
* Break the big main() into one function for each subcommand. Probably should have done this before, even though there was only one.