Fix commit log index update.
Remove ApplyFunc.
Merge branch 'master' of https://github.com/benbjohnson/go-raft