Make RelCollation trait and AbstractRelNode.getCollationList consistent

Details

Description

Currently getCollationList is not consistent with RelCollation trait since a node can have only one collation trait, thus you cannot express the node that is sorted on multiple collations at the same time.

We should either drop getCollationList in favour of getCollation or make collation trait support multiple "collation lists".