[MONDRIAN-1869] - avg measures need to be aggregated in SQL similar to d...

...istinct-count.  You cannot aggregate avg from separate queries because the count for the denominator is lost by then.
I verified the changed value in CompoundSlicerTest is now correct.  The calculation is getting pushed into the SQL now.