Added documentation and a few more tests

Added documentation for the exposed functions the hashtree
package. Also, added a few more unit tests for the hashtree
stuff.