Fix #78: drop RecursiveTreeWalker.

Nothing has used this for years, and it shouldn't be used as it can
easily run out of stack (and a non-recursive algorithm is scarcely
more complex).
Move import/constants to top of file to match style.