SERVER-15286 don't try to explode for sort if zero fields to explode

(cherry picked from commit 55415503b722848d51fe45fc2de2d47cee4db952)
SERVER-15152 refactor IXSCAN stage to avoid doing too much in one work() cycle
Merge remote-tracking branch 'upstream/v2.6' into v2.6