[schema] add composite handling helpers on EntitySchema (related to #3463112)
These will help write predicates, hooks, etc.
ifnotrql('CWConstraintType X WHERE X name "RQLUniqueConstraint"',ask_confirm=False):rql('INSERT CWConstraintType X: X name "RQLUniqueConstraint"',ask_confirm=False)