SERVER-10026 fix memory leak in sorting
SERVER-9516 Give userAdminAnyDatabase more privs for v2.4 users; in support of upgrade.
SERVER-9516 Enhance privileges of builtin roles to handle auth upgrade system collections.

This commit lets userAdminAnyDatabase role run listDatabases, since it was the
only AnyDatabase role that couldn't.

It also uses constants for auth collections in RoleGraph.

Finally, it grants access to new_users and backup_users.
SERVER-1891 Hookup audit logging for sharding events.
SERVER-11548 SERVER-11561 grab lock when changing dbexitCalled in dbshell.cpp
SERVER-9855 Remove obsolete darwin configuration options

- We want to use whatever compiler SCons tooling picks now that we support clang.
- /usr/64 isn't a thing on modern Darwin (at least since 10.6, which is our minimum)
- It probably never made sense to look in /usr/64/include for anything
- If you want to use MacPorts, use --extrapath=/opt/local, similar for Fink
SERVER-9855 Add support for specifying Mavericks as the OS X minimum version
Rename commands js tests
SERVER-11354 Improve log message when user not found during authentication
move catalog on disk representation to catalog/ondisk
remove old comment
SERVER-11543: remove 3/4 of the DataFileMgr::deleteRecord references in dbtests
SERVER-11543: finish remove DataFileMgr::deleteRecord from tests
              remove one public variant
              make pdfile version call new version
SERVER-11178: Collection::insertDocument should not create a new error code for dup key errors
SERVER-11178: move reindex to use IndexCatalog
SERVER-8432: clean up error handling on index build failure
Merge remote-tracking branch 'upstream/master'