Union and intersection with explicit "value" selection

Client applications can now control, which values are associated
with the trees resulting from a wbtree-union or wbtree-intersection
operation. The default combinator retains the old behaviour, that
those functions use the values from the second tree argument.