CoralVM-PHP: Preparing dynamic dispatch for TreeManager

The dispatch must be very flexible and able to pass on a specific sub-node instead of the root node if necessary.