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