Add non-functional write_tree() command

* Throws if not in repo
Add pretty print pp() fn
Make hash start counting at 1000

* So empty string hashes to something
Add isString() fn