SERVER-13645 move ReplSetImpl out of rs.cpp
SERVER-13645 clean up ReplSetImpl
Merge remote-tracking branch 'upstream/master'