include license notice in README.rst
cleaned up HashTree code a bit
added a test class for unit tests