Adding some review changes. Build successful, untested.
1. Added Changes as per review comments.
2. Added a test case for client.go. (Need to think of a
method to start the etcd/backend server from the testcase
Currently etcd needs to be started manually)
Corrected the import for my version
Removed invalid comments
cleaning up george's contributions, touching remaining items from jonathan's review. overall, better code, more testing
removed bad mutex. made sure demo still worked
updating imports now that my fork is gone
putting unlock under defer
simplifying heartbeat sleeps
removing unnecessary channel buffer
changing to regular Mutex since not using RLock of RWMutex