[WIP][SPARK-2554][SQL] CountDistinct and SumDistinct should do partial aggregation

I'm not sure, we will never put null into it though (we always put rows in, and furthermore count distinct semantics don't count null).