Normalize reduce keys before sending them

I'm taking this approach rather than forcing the use of JSON comparison
operations to replace a dict in the coordinator.
Merge pull request #92 from cloudant/19776-fix-reduce-grouping

Normalize reduce keys before sending them