rql #10054406 add full support for DISTINCT / DISTINCT ON [open]

It would be nice if we could query distinct counts in RQL as in SQL:

Any COUNT(DISTINCT X)) WHERE ...

would then generate:

SELECT COUNT(DISTINCT _X.cw_eid)) FROM...
prioritynormal
typeenhancement
done in<not specified>
closed by<not specified>