More accurate command results in RAFT.

Before, when Raft leader becomes follower, it returned error for all uncommitted operations. Now if command becomes committed after loss of leadership, result is still provided to corresponding callback. Raft actor returns error for a command only when this command is replaced with some entry from new leader.