SERVER-13961 move repl-specific cloner static methods to where they're used
Merge remote-tracking branch 'upstream/master'