Fix lock method to work with etcd 0.3

The lock index is return on the POST, it is required to keep it in order to delete it later.

The method get_lock only returns `-` if the key is locked and nothing otherwise, maybe it may be great to transform it to `is_locked?` or something similar.