do not send commit signal if it came from old leader
record the value of the commit result before remvoe it
Merge pull request #61 from coreos/master

Fix two problems