appendEntries RPC is not successful when received term is less than server's current term.
Adds additional appendEntries failure and success cases
Actually append the entries.
Merge pull request #3 from wjdix/master

Additional failure/success cases for appendEntries rpc