Fix a problem when recovering caused by the fact that the new log version wasn't flushed
on disk after a log rotation.

o reenable tests in IndexRecoveryIT
Merge pull request #2742 from davidegrohmann/fix-flush-log-ver-on-log-rotation

Force flush on disk of the new log version after a log rotation