Raft: assorted cleanups (golint and go vet)

Mostly comments and non-functional changes, with a few bug fixes for format strings in tests.
seems like we should fix it by being explicit about which message we should ignore.