SERVER-11637: Move lasterror.cpp into its own library and add comment about dependency triangle

Conflicts:
	src/mongo/SConscript
	src/mongo/unittest/SConscript
	src/mongo/unittest/crutch.cpp

Also, since unittest_main now depends on a library built in db/, we needed
to move all unittest executable definitions to src/mongo/CMakeLists.txt
instead of in their own subdirectories.
SERVER-10330 SERVER-11195 SSL server hostname validation

Conflicts:
	jstests/ssl/replset1.js
	src/mongo/shell/servers_misc.js
SERVER-10330 Fix compile.
SERVER-10330 Fixed build failure on enterprise builds
SERVER-6950 Add a TCMalloc ServerStatusSection
SERVER-10942 use legacy error code for duplicate key

Conflicts:
	src/mongo/base/error_codes.err
SERVER-11431 Change sslMode with setParameter command
SERVER-11431 Change clusterAuthMode with setParameter command

Conflicts:
	src/mongo/db/initialize_server_global_state.cpp
	src/mongo/db/server_options.h