Added facts:canonical-grouping-key#1 and #2

Usage:
for $fact in ...
group by $key := facts:canonical-grouping-key($fact, ($facts:CONCEPT, $facts:PERIOD))
return...

Why can't we use facts:canonical-grouping-key here?