Move declaration of _genFieldErrMsg in FieldParser into the header file
SERVER-10832 Use long long rather than int64_t in test to avoid builder ambiguity
SERVER-10159 Don't 'done' the BSONObjBuilder right before we call its destructor
SERVER-1105 Do not test role->privilege mappings in authorization_manager_test.

Also, beef up privilege_document_parser_test, instead of testing role parsing in
authorization_manager_test.

The role->privilege mapping belongs to the RoleGraph, and the authorization of actions
to the AuthorizationSession.  Actual parsing belongs in privilege_document_parser_test.
SERVER-10471 query solutions export properties to allow uniform optimization of covering/sort/fetch
SERVER-10741 remove outputNs from return object when using $out
SERVER-9238 Don't set a timeout in shell autocomplete

In V8, timeouts are fatal so the shell would become unusable if the
timeout fired. Since the timeout didn't cause remote calls to return
early (which is the most common cause of slow autocomplete), this didn't
actually do anything useful anyway.
Remove fake split-pipeline mode from aggregation

It was a bad idea and is only used by the disabled test for explain.
When complete, the explain test will use an actual sharded cluster
rather than a fake one.
Remove Pipeline::collectionName and getter.

It is replaced by ExpressionContext::ns.
SERVER-4504 explain for aggregation

This is just the infrastucture change. Each DocumentSource will need to
have it's serialize()/serializeToArray() implementation examined and
improved.

Related tickets:
SERVER-6140 A specific failure in the old impl of explain.
SERVER-4504 Improve DocumentSourceCursor explain

Running an explain on a new query through DBDirectClient is just wrong
here. It needs to describe the actual cursor created by agg rather than
the cursor that would be used in a similar find.
SERVER-10745 Eliminate AuthorizationSession::hasInternalAuthorization() method.

This requires eliminating the "skipAuthCheck" parameter to replAuthenticate(), which
the linked jira ticket describes as folly, anyways.
SERVER-1105 Introduce ResourcePattern type, for matching against resources in access control checks.
Log and continue when failing to remove temp extsort files
SERVER-10837 buildbot trace_missing_docs.js wait for delete to ensure oplog entries
SERVER-10026 SERVER-10471 planner bug fixes from going through tests
SERVER-9517 Implement generic insert, update, and remove methods in AuthzManagerExternalState
SERVER-10159 Don't rewrite document if all mods are no-ops.
SERVER-1105 Use ResourcePattern type when identifying the resource component of required privileges.

This patch has two principal components.  First, it changes the interface to Privilege and
AuthorizationSession to use ResourcePattern in place of std::string for identifying resources.
Second, it examines all call sites of the authorization session interface in commands and
other code to ensure that the correct resource requirements are conveyed to the authorization_session.
SERVER-9515 Mostly autogenerated files for parsing privileges from BSON