SERVER-9516 Relax type requirements for second parameter to sequenceContains().
SERVER-11203 Reverting changes to time support code to work with negative time_t

Doing this correctly depends on SERVER-11273

Revert "SERVER-11174 Reference db of tool test rather than global db object"
This reverts commit d1c2ae72c4829ed77cb6b7fe42e486910483caff.

Revert "SERVER-11174 Skip tests of negative dates on windows"
This reverts commit 9fcdfeb195c42e91a49e37212a65fea624d71c13.

Revert "SERVER-11174 Skip test for date that cannot be stored on 32 bit systems"
This reverts commit fc3b552e788e027af40523173790a20f49b27ec5.

Revert "SERVER-6058 Fix time_support_test on systems with small time_t"
This reverts commit c1a09966ff05c42c184870715e7a7383d02c477d.

Revert "SERVER-6058 Factor out date to UTC handling code and use in mongoexport"
This reverts commit 0b19be208f91e70c683d60c22011cad14a9fa78c.

Conflicts:
	jstests/tool/csvexport_dates.js
	src/mongo/db/pipeline/expression.cpp
SERVER-11337 Make error reporting for exceptions thrown in commands consistent
SERVER-10968 Not logging expected SSL socket close as error

Conflicts:
	src/mongo/util/net/ssl_manager.cpp
SERVER-8510 Add comments to the OptionDescription struct

Conflicts:
	src/mongo/tools/tool_options.h
SERVER-11144 Chaining interface for option registration
SERVER-11144 Remove old registration interface

Conflicts:
	src/mongo/util/options_parser/options_parser_test.cpp
	src/mongo/util/options_parser/startup_options.h
SERVER-11333 Use configure time checks and posix feature tests to select TSP implementation

Conflicts:
	src/mongo/db/storage/record.cpp
SERVER-11544 Make sure to fclose config file on error
SERVER-11538: Make a spin lock library and make dbtest into unittest

Conflicts:
	src/mongo/SConscript
	src/mongo/util/concurrency/spin_lock_test.cpp
SERVER-10390 direct console output to WriteConsoleW instead of std::cout under Windows
Fix compile with --gdbserver

Conflicts:
	src/mongo/util/debug_util.cpp
SERVER-11613 Fix some brokenness in test logging

Changes:
* smoke.py captures both stdout and stderr of subprocesses
* Log buffering reduced (main log() function already was line-buffered).
* printStackAndExit writes to stdout rather than stdin.

Conflicts:
	buildscripts/smoke.py
SERVER-11539 Don't count sizeof metadata when deciding if a string is too big in agg
SERVER-11575 Added support for YAML Config File

Conflicts:
	SConstruct
	distsrc/THIRD-PARTY-NOTICES
	src/mongo/util/options_parser/options_parser_test.cpp
	src/third_party/SConscript
Better err message when "show logs" is unauthorized SERVER-8265

Signed-off-by: Ian Whalen <ian.whalen@gmail.com>
SERVER-9740 Add checkAuthForCommand method to all commands and use that for auth checking from now on

Conflicts:
	src/mongo/db/commands.h
SERVER-1891 Consolidate command authorization checking logic.

This reverts commit 2e2a6fdffdba369a0594962267e5bc7bb47a3f3a and also fixes the build break that the
original "Consolidate command authorization checking logic" patch introduced.