Implemented waiting lock case

Change-Id: I7c11e8e6d1f4fc9c32759008050a759c38fe7ecc
Fixed error for waiting lock

Change-Id: Iad27141d09ae82b47a9c19b506d571030b7efb17
Fixed bug with deletion via rsync on locked process

Change-Id: If5eec341096cead2fbe18cb951b2eb4c577cbcc4
Removing sudo and recreating mirror in /var/www

Change-Id: Ic0942d9a744d186d2664531c33e610b7ef29f2a9
Closes-bug: #1356865
Revert "Removing sudo and recreating mirror in /var/www"

Reverted due to errors on sync
rsync: chgrp "/fwm/files/..." (in mirror-sync) failed: Operation not permitted (1)

This reverts commit 737f20a4a8fb2fee68420c33735edf93b8e95293.

Change-Id: I0ab4f728b4bf927c253ca77d607634bf9a8602c9
Removing sudo and recreating mirror in /var/www

This reverts commit e55769fe0245224ab136219a81284f66de662486
and fixes bug
rsync: chgrp ... (in mirror-sync) failed: Operation not permitted (1)

Change-Id: I0791c5de74fa48568cc36c2d48ea6af7cce1297a