Add toTreeString to LogicalPlan to aid debugging
Add uniqueness predicates for MATCH patterns