Various CLI improvements.

* Add writehash command
* Add createlog command
* Add appendlog command
* Improve usage text
* 'info' command now handles file-not-found nicer