SERVER-9518 Use AuthorizationManager to get privilege documents from disk

Conflicts:
	src/mongo/db/auth/authz_session_external_state.cpp
	src/mongo/db/auth/authz_session_external_state_d.cpp
	src/mongo/db/auth/authz_session_external_state_s.cpp
SERVER-9518 Move static methods from AuthorizationSession into AuthorizationManager

Conflicts:
	src/mongo/db/auth/authorization_session.cpp
	src/mongo/db/commands/apply_ops.cpp
	src/mongo/db/pdfile.cpp
	src/mongo/s/commands_public.cpp
SERVER-6246 Add createUser command

Conflicts:
	src/mongo/SConscript
	src/mongo/base/error_codes.err
SERVER-7455 SERVER-7961 x.509 authentication and keyfile replacement

Basic support for x.509 authentication of clients and for internal
x.509 authentication of cluster members.

Conflicts:
	src/mongo/SConscript
	src/mongo/db/range_deleter_db_env.cpp
MX-1217 fix missed "rename Principal to User" stuff
SERVER-10596 Globalize formerly per-thread Pool of JS Scopes

This ensures that the limit of 10 pooled scopes is actually enforced.
With a per-thread Pool, long-lived connections could cause very high
memory usage (both real and virtual) even if they haven't used JS in a
long time.

Conflicts:
	jstests/auth/js_scope_leak.js
	src/mongo/db/auth/authorization_session.cpp
	src/mongo/db/auth/authz_session_external_state_d.h
	src/mongo/db/auth/authz_session_external_state_mock.h
	src/mongo/db/auth/authz_session_external_state_s.h
	src/mongo/db/commands/group.cpp
	src/mongo/db/commands/mr.cpp
	src/mongo/db/dbeval.cpp
	src/mongo/db/matcher/expression_where.cpp
SERVER-7961 Not calling doSSLHandshake for non-SSL webserver
SERVER-7961 re-adding copyright notice
buildbot compile fix for SERVER-4706 part 2
SERVER-4706 Fix buildbot compile failure on Linux client 64bit build
SERVER-4706 bbot compile fix for 32bit
SERVER-8502 Only set authenticationMechanisms if authMechanism is not MONGODB-CR
MX-1212 temporarily disabled agg cursor

the driver tests use a version number check to see whether to test agg cursor,
this was creating cursors without pinned transaction stacks, which crash in
getMore, we'll disable that until we finish merging agg work and thread the
transactions through
SERVER-9960 Replace X509_NAME_oneline with X509_NAME_print_ex
modest ( ~ !10% ) compile time speedup by some small header cleanup

Conflicts:
	src/mongo/util/time_support.h
very small header cleaning
Include what you use: mongo/util/concurrency/mutex.h.

Conflicts:
	src/mongo/util/file_allocator.h
SERVER-10074 RotatableFileWriter type, introduce logger module.

Conflicts:
	src/mongo/base/error_codes.err
SERVER-10088 SERVER-10074 Add forgotten copyright message to rotatable_file_writer_test.cpp.
Fix unit test to handle explicit operator bool in C++11 mode