ENG-6009: Fix race at the end of rejoin/join that may cause MP deadlock.

Since the m_rejoinDataPending flag in RealVoltDB is set asynchronously, sites
could have inconsistent views of what the value is during the execution of a
sysproc at the end of rejoin/join. Created a method to atomically check the flag
and determine if it's safe to execute a sysproc, @SnapshotSave fragment to be
specific. For the same MP sysproc, the method always returns the same decision,
even though the flag could flip in between the calls.
ENG-6009: Add missing method to MockVoltDB.
Merge pull request #1254 from VoltDB/ENG-5608

ENG-5608: Log the fragment when it doesn't contain the InitaiteTaskMessage in logToDR()
For ENG-6009, fix bug in test cases where RealVoltDB state is not reset
Merge pull request #1251 from VoltDB/ENG-6009

ENG-6009: Fix race at the end of rejoin/join that may cause MP deadlock.
ENG-5608: Add sanity checks in Site.replayFromTaskLog().