Fix lock method to work with etcd 0.3
Merge pull request #35 from Appsdeck/32_fix_lock

Fix lock method to work with etcd 0.3