fix bug when removing the root node of a tree

add test for simple destructor in trees - fixes #436

complete implementation of remaining high level tree functions

(0) -300 -100 -30 -10 -3 +3 +10 +30 +100 tip

mercurial