Synchronize Raft with RPC changes, part 1.

Renamings dispatch_t -> basic_dispatch_t, implements -> dispatch, and so on.
Merge https://github.com/andrusha97/cocaine-core into andrusha97-cocaine-core
Fixed Raft building with new RPC stuff.