TreeBase getNextMatch & getPrevMatch added

The TreeBase and subclasses now support the retrieval of either
a previous or a next node that matches a criterium, starting from
either the trees own cursor or a custom cursor