With this commit all refrerence to the database is removed from the branch implementation. There was some refractoring doing with the fethch leaf method due to accesibility.
moved all reference of the database from the class TreeRule. It now resided inside of TSDB. HBase interaction is now done in the HBaseStore
Adding forgotten methods into the MemoryStore. Very small change.
Worked through whole tree, finished with TreeBuilder. Cleaned up some redundant code.
changed it so that it uses the new syntax
Merge pull request #56 from hi3g/tree_rule_refractor

Treee Rule refractor
Merge pull request #55 from hi3g/branch_refractor

The branch refractoring