Pass the lock to the supplied block

This enables a block to extend the life of the lock with code such as this:
  redis.lock("test") do |lock|
    array.each do |entry|
      do_something(entry)
      lock.extend_life(60)
    end
  end
it accepts lamdas in addition to blocks.