Easier navigation on local tree

The PR make it easier to navigate on the local tree. Instead of the `trackLocalNode` function in forest, each node now has member functions

- `getLocalParent()`
- `getLocalChild1()` and
- `getLocalChild2()`

which return the corresponding nodes of the local tree (with all local nodes that are not necessary for the local tree removed).