SERVER-14498 getExecutor() use new helper prepareExecution()

Groundwork for coming implementation of getExecutorDelete().
SERVER-14498 Add DeleteStage, rewrite DeleteExecutor to use it
SERVER-14442 Implement processReplSetUpdatePosition in ReplicationCoordinatorImpl
SERVER-14442 Make ReplicationCoordinatorImpl capable of starting its own SyncSourceFeedback thread
SERVER-4217 fixed regular expression in multiVersion balancer test so that the test is not dependent on the log format
SERVER-14706 negated $type predicates should not use an index
SERVER-13824: Remove some typing violations from the v8 code

Code will now work correctly with GCC 4.9.x with full optimization.
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