Moved last candidate into server state from the raft context.
Moved server name into raft state, and eliminated other copies
Refactored actions into separate module, and refined how configurations pre-committed, using a new SetConfiguration action.