tree: super() can be used only in the new-style classes

class need to inherit from 'object' instead of empty
+ tree: add rotate ops for Tree
+ tree: tests for RBTree