Refactor storage package's raft interface.

It's still using a dummy implementation, but it no longer relies on
sending channels and mutable reply buffers through raft.

@spencerkimball @cockroachdb/developers 
I wrote a similar function in latest PR. But this is more general. I'll switch to using it.