Raft: assorted cleanups (golint and go vet)

Mostly comments and non-functional changes, with a few bug fixes for format strings in tests.
Yeah, I think so. Weird that `go vet` warned on one but not the other.