util: Add a new `tree` module to avoid duplicating pointer stitching. …
Add some basic support to AbstractNode for it.