Update planning of optional match in Ronja

Before this change, planning of OPTIONAL MATCH
was done as if order between these clauses was
not important. This change respects the order
of the clauses, and simplifies which operators
are used in solving them.
Change how greedy the greedy planner is

Before this change, for each step taken in the planning process,
a single best plan would be picked, and added to the plan table.
This would prune out any plans covered by the new best plan.
After this change, Ronja picks the best plan per set of covered ids.
This broadens the search space some, and prepares the planner
to be able to find more effective plans for queries with cycles.
Hash join support for joining on multiple keys.
Merge pull request #3144 from systay/new-new-greedy-strategy

[2.2] Better plans for patterns with cycles in Ronja