SERVER-14668 Remove commitIfNeeded from the public RecoveryUnit API

Move its functionality to be under MMAP V1 code only.
Merge remote-tracking branch 'upstream/master'