Improved binlog testing.
Merge pull request #101 from kxing/kxing_binlog_1

Improved binlog testing.
Folded FakeLogFile into MockLogFile.
Merge pull request #102 from kxing/kxing_binlog_2

Folded FakeLogFile into MockLogFile.