AbstractRaftStateBehavior::CommitEntries() should use lastIndex for commit
Merge pull request #2 from myarichuk/master

AbstractRaftStateBehavior::CommitEntries() should use lastIndex for commits