SERVER-12088 Enable usePowerOf2Sizes as server-wide default
SERVER-12359 add testing of auth functionality in a replset during a compact
SERVER-12241 Cleanup of action types for internal actions
SERVER-6851 Remove old external sort implementation

Also removes HLMutext as it was only used by the old implementation.
SERVER-11413 Fix agg DocumentSourceCursor explain format

All stages are supposed to explain as {$stageName: <STUFF>}. The wrapping
object with the stage name was accidentally removed in commit
54cee6c07af4c2973f34b25de271f7258dafbc84.
SERVER-12180 Clean up dependency tracking code

Behavior changes (none effect semantics of pipeline, just implementation):
* We now track what we know about fields and metadata separately. This allows
  us to prove that we won't need the text score if we see a $group or $out.
* If we don't need any fields from the source document we now use a projection
  that will return an empty document, or just the text score if it is needed.
  We used to use {_id: 0} which returned all other fields.

Code organization changes:
* Dependencies are now tracked using a dedicated struct rather than a
  set<string> with some magic strings.
* ParsedDeps is now a proper class rather than a typedef.
* Removed ExpressionFieldPath::_baseVar since its former role is fulfilled
  better by _variable.
SERVER-8033 Sharded agg should only send needed fields from shards to mongos

*** BEFORE ***

> db.foo.aggregate([{$sort: {score:1}}, {$limit: 10}, {$project: {_id: 1}}], {explain:true})
{
    "splitPipeline" : {
        "shardsPart" : [
            {
                "$sort" : {
                    "sortKey" : {
                        "score" : 1
                    },
                    "limit" : NumberLong(10)
                }
            }
        ],
        "mergerPart" : [
            {
                "$sort" : {
                    "sortKey" : {
                        "score" : 1
                    },
                    "mergePresorted" : true,
                    "limit" : NumberLong(10)
                }
            },
            {
                "$project" : {
                    "_id" : true
                }
            }
        ]
    },
    "shards" : {
        "shard0000" : {
            "host" : "localhost:30001",
            "stages" : [
                {
                    "$cursor" : {
                        "query" : {

                        },
                        "indexOnly" : false,
                        "cursorType" : "BasicCursor"
                    }
                },
                {
                    "$sort" : {
                        "sortKey" : {
                            "score" : 1
                        },
                        "limit" : NumberLong(10)
                    }
                }
            ]
        }
    },
    "ok" : 1
}

*** AFTER ***

> db.foo.aggregate([{$sort: {score:1}}, {$limit: 10}, {$project: {_id: 1}}], {explain:true})
{
    "splitPipeline" : {
        "shardsPart" : [
            {
                "$sort" : {
                    "sortKey" : {
                        "score" : 1
                    },
                    "limit" : NumberLong(10)
                }
            },
            {
                "$project" : {
                    "score" : true,
                    "_id" : true
                }
            }
        ],
        "mergerPart" : [
            {
                "$sort" : {
                    "sortKey" : {
                        "score" : 1
                    },
                    "mergePresorted" : true,
                    "limit" : NumberLong(10)
                }
            },
            {
                "$project" : {
                    "_id" : true
                }
            }
        ]
    },
    "shards" : {
        "shard0000" : {
            "host" : "localhost:30001",
            "stages" : [
                {
                    "$cursor" : {
                        "query" : {

                        },
                        "fields" : {
                            "score" : 1,
                            "_id" : 1
                        },
                        "indexOnly" : false,
                        "cursorType" : "BasicCursor"
                    }
                },
                {
                    "$sort" : {
                        "sortKey" : {
                            "score" : 1
                        },
                        "limit" : NumberLong(10)
                    }
                },
                {
                    "$project" : {
                        "score" : true,
                        "_id" : true
                    }
                }
            ]
        }
    },
    "ok" : 1
}
SERVER-12113 keep mutated docs in query results when it's sane to
SERVER-12111 Make sure usersInfo can always find users when midway through the auth schema upgrade
Fix segfault in --syslogFacility option
SERVER-12180 fix inconsistent use of struct/class
SERVER-12417: Fix PidFileWiper destructor on Windows
SERVER-11730: Debugging output of connections with unexpected data
SERVER-11889 only show stats field in shell with verbose explain
SERVER-12286 Fix incomplete error message in role graph initialization code
SERVER-12282 fixed memory leak in get_runner. fixed planFromCache signature to reflect cached solution read-only access
SERVER-12372 added plan stats for all solutions and feedback to planCacheListPlans result
SERVER-11144 Fix casing of pidFilePath