Improve event iterator. #4588

This commit gives the event iterator the same test coverage and
options for blocking as the log reader.