Add testAndSet Command

The command will test to see if the given prevValue is equal to the current value of the key. If equal, the value of the key will change to the new value.

Since the server will process all the in-coming requests in sequence and atomically, this command can help to do locking stuff.