Raft: assorted cleanups (golint and go vet)

Mostly comments and non-functional changes, with a few bug fixes for format strings in tests.
Personally i don't think it is confusing, and it could help to notice update if we change message type..