Changed Lock to implement lock pattern guideline per http://redis.io/com...

Currently Lock is implemented using SETNX.

On http://redis.io/commands/setnx it specifies:
>NOTE: Starting with Redis 2.6.12 it is possible to create a much simpler locking primitive using the SET command to acquire the lock...

This is an implementation of Lock using SET with the according tests.