mod. _create_lock creates the lock on deploy target.

Change-Id: I507defab854483adb0d90a4adc5a908f576f7840
mod. add method _remove_lock.

Change-Id: I09e78b5373e8ee68bb366ea05858e28673fb5a1f
mod. handling lock file removal and checking.

Change-Id: I2cabd6da616cdda40a57aee3891a20d020605a28
mod. refactor _check_lock.

Change-Id: Iad8de210a0e6fae22101f5e6951a6afb7b5ad01c
mod. have check_lock return false on 'ls' fail.

Change-Id: Ibe0f51cfaf263a6254caaa79f3d00c5268a1fe79
mod. logging for lock removal on remote.

Change-Id: I7ab3b1c7377ed0c3e9b5dbb03a624bd2e3554cf2
mod. simplify _create_lock, more logging.

Change-Id: Ie9aa97a3d9487ca34583c1f9b23cb9629fdf17b3