Update to new hashtree API

The hashtree module only exports `compare/4` now.

Remove some unused functions and dead code.
Merge pull request #201 from basho/bugfix/rz/aae-compare

Update to new hashtree API