Fixes the following issues causing command proxying to fail:
Register the previously unregistered ProxyService when the raft node
is initialized.
Use the same piece of code to process an incoming command in the
master for when commands are received from a client connected
directly to the master and for commands proxied from another node.
Prevent the log entry state (in node.logEntryStates) corresponding
to a log entry from being reset whenever node.addLogEntry is called.
Fixes the following issues causing command proxying to fail:
Fixes #4
Signed-off-by: Jason Rogena jason@rogena.me