added CLI

Command Line Interface is written, but could use some polishing.

TODO:
clean up hpass
update documentation
cross-system testing
reference implementation in another language
start respecting versioning