fix #184. Don't let the raft log grow larger than 10MB
Merge pull request #185 from influxdb/fix-184-log-compaction

fix #184. Don't let the raft log grow larger than 10MB