Refactor out Tree/TreeView from binary tree versions. Move TreeViewUtils to Tree.