feat(client): add more basic utility functions
This PR adds a bunch of low level utility functions I found I often needed when working with client-side projects.
Those functions tackle issues around cardinality and entity role in a relations.
I decided to include the relation type reverse_
indicator handling in the client instead of the data provider (PR coming to remove it from that package) because it is a commonly acknowledged convention in CubicWeb.