SERVER-10448 migrate code out of explain_plan.cpp
SERVER-14679 fixed init.d script to create directory for pid file

Startup scripts not fit for CentOS 7 / RHEL 7

Default location for pid file is under /var/run/mongodb. /var/run can be mounted
on a temporary filesystem so the pid file directory is
not guaranteed to persist across reboots.

Closes #723

Signed-off-by: Benety Goh <benety@mongodb.com>
SERVER-14448 Implement processReplSetGetStatus in ReplicationCoordinatorImpl
SERVER-14451 Implement processReplSetFreeze in ReplicationCoordinatorImpl
SERVER-14443 correct modeReplSet detection in ReplicationCoordinatorImpl::getReplicationMode()
SERVER-14443 implement canAcceptWritesForDatabase() and canServeReadsFor() in ReplicationCoordinatorImpl

also move replAllDead from master_slave to ReplicationCoordinator
SERVER=14443 implement isMasterForReportingPurposes() in ReplicationCoordintorImpl
SERVER=14443 implement buildsIndexes() in ReplicationCoordintorImpl
SERVER-14572 Increase C runtime stdio file limit

Signed-off-by: Mark Benvenuto <mark.benvenuto@mongodb.com>
SERVER-14135 Clean up locking in ReplicationCoordinatorImpl
SERVER-14131 Fix initialization order
SERVER-14443 fix lint
SERVER-14561: allow setting member heartbeat data from heartbeat responses
SERVER-14755 increase ReplSetTest timeouts to prevent spurious failures while using HybridCoordinator
SERVER-13760 added check on source collection size before running mongoexport
SERVER-14378: make DBClientWithCommands::exist not use system.namespaces
SERVER-1153: fix reverseIterator for heap record store
SERVER-1153: implement base of HeapRecordStore::setCustomOption
SERVER-13635: move mmap_v1 specific tests and make other generic
SERVER-13635: remove old comment