Clean up API.
Merge branch 'master' of https://github.com/benbjohnson/go-raft