Add Hql.size() expression
|Reported by:||Nicklas Nordborg||Owned by:||everyone|
This is a HQL expression that creates a
size(collection) expression. It is needed by #1011 to allow us to filter on the 'none' alternative with collection properties. Eg. The filter we need is
size(collection) = 0.