Added prev_exist and prev_index parameters to test_and_set method.

Also fixed "prevExists" (not valid) in condition-list to be "prevExist". We now throw an error if an unrecognized condition argument is specified.