Group the parameters for each Raft RPC request and reply into a struct. This is partially for the convenience of raft_network_and_storage_interface_t, but it also makes the Raft implementation somewhat easier to read.