Fix RavenDB-2774 SingleStepReduce do not respect maxItemsToReduce and ca...

...uses unpredictable memory and disk consuption

This is my suggestion on doing SingleStepReduce in batches in 3.0 branch

Please verify that the transactions around the batches are done correctly