refs #1136, make the transitions to and from secondary mode smoother.
For stopping replication, we have BackgroundSync::produce() say that the producer
is not running if it is waiting on a OplogReader::more() call. This makes state transitions
not wait on a tailable cursor. For starting replication, we don't wait for verification
that the producer is running. We simply assume it will.