ENG-4136: Initialize the command log for rejoin before configuring the
IV2 initiators.  This avoids a race where the IV2 initiator config could
cause messages to arrive and get discarded because the command log
doesn't have a configured file writer.

r=rbetts
Factor out common IV2 initiator code from the rejoin and non-rejoin
paths.

r=rbetts