SERVER-14668 Fix for commit c069fc13a9 which broke OSX build
SERVER-15007 Add epoch check for split and moveChunk
SERVER-14561 Make getStatusFromCommandResult a free function supplied by mongo/db/common.

It was formerly a static member function on the Command class, which made it hard to link
into unit-testable code.
SERVER-15055 RocksDB storage engine: fix several unit tests

    Several changes:
    (1) return nrecords when validating a RocksRecordStore
    (2) implement RocksRecordStore::Iterator::restoreState(), which reseek to the last seek location
    (3) RocksSortedDataImpl::dupKeyCheck() return false when no exact key is found

    This change would fix several tests, including:
    jstests/core/apitest_db.js
    jstests/core/auth*.js
    jstests/core/batch_write_command_insert.js

Closes #758

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-15056 Sharded connection cleanup on setup error can crash mongos
SERVER-14981 don't generate cell ids > coarsestIndexedLevel when building covering
SERVER-14413 don't forget to link in heap1 registration, update rocks initializer

This reverts commit afbdd2b7f5944b57d5fd1f597f67aa32883043ba.
SERVER-4217 use hyphen to display default component in log message
SERVER-14561 Add validateConfigForHeartbeatReconfig free function.

This function is analagous to validateConfigForInitiate and others in the same file,
and provides the validation required for heartbeat-prompted reconfigurations.
SERVER-14561 Remove ReplicationExecutor::CallbackData argument from methods that aren't callbacks.

TopologyCoordinator::updateConfig and ReplicationCoordinatorImpl::_setCurrentRSConfig_inlock are
not scheduled direclty as callbacks, and so do not need a cbData argument.
SERVER-14561 Add OperationContext* member to ReplicationExecutor::CallbackData.

This member, called txn, is non-NULL if the operation was scheduled using
scheduleWorkWithGlobalExclusiveLock, and provides a pointer to the lock-owning
context.
SERVER-14455 Implement processReplSetElect in ReplicationCoordinatorImpl
SERVER-7596 Native SCRAM-SHA-1 server side support
SERVER-7596 Fixed error number
SERVER-15045 extend logComponentVerbosity to support less verbose BSON format for log component severity
SERVER-14561 Parsing and accessor methods for ReplSetHeartbeatResponse.
SERVER-14413 shutdown before setting globalStorageEngine is OK
SERVER-14668 Remove unused includes in client.h and curop.h

Having these extra includes caused large portion of the code to be rebuilt
for changes to relatively standalone headers.
SERVER-14668 Distlock constants to enums and fix some includes

The macros were conflicting with LockManager enums, which are in different
namespaces (LOCK_TIMEOUT in particular).
SERVER-14745 Remove WritebackListener

Remove writeback on the shard side.