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
Merge remote-tracking branch 'upstream/master'