Convert LogIterator from AsyncIterator to BatchIterator.

This makes batches of log entries of size one, which does not improve efficiency of replaying the log. It prepares LogIterator to work with a batch based MergeIterator, which we will need to improve efficiency of scanning a table.