Add field 'max_matching_nodes' to TraversalRequest
This allows limiting the number returned by a leaves traversal request.