SERVER-14626 Implement quorum check functionality for use in replcia set initiate and reconfig.
Merge remote-tracking branch 'upstream/master'