tree: remove std.list dependency requirement.

No need to pull in all of std.list when loading std.tree, just
for the foldl function.
* lib/std/tree.lua (__index): Use func.fold and base.elems from
existing required modules instead of list.foldl.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>