map, reduce, etc. can now handle trees

This eliminates the need for treewise, tree-subst, ontree, etc.
http://arclanguage.org/item?id=18261