fixed snychronization with neighbors.  Now passes all test but simpleEv
removed part in put requests that suggest there exists an eventual consistent write
Merge branch 'master' of github.com:kkc47/Distributed-System--Rating-System
Correct variable name in test simpleEv.

The test is coded correctly but the variable 'latestVal' was in
fact counting OLDER values. Renaming the variable 'olderVal' aligns
its name with its purpose.
Remove race condition on Redis startup for first test.

The flush() code flushes the Redis servers at the start of every test.
This caused a race in the first test: the sleep(args.wait) call comes
AFTER the flush(). Therefore, the first flush() call can come before
the Redis databases have completed initialization. This causes
an error return on the client.flush() call.

The fix simply doesn't do a client.flush() if there are no running
or terminated DB instances. If no DB instances have ever been created,
there is nothing to flush (and the Redis instances might still be
initializing). On the other hand, if DB instances have been created,
we need to flush the Redis instances and we know the Redis instances
have completed initialization.
Merge branch 'master' of http://innovate.cs.surrey.sfu.ca/code/533f90cda342aec8c7386aea