Merge pull request #25 from alexandru-iacob/master

Fix LOG parsing issues if a folder structure is uploaded to SFTP. Unset vars on exit.
Merge pull request #26 from alexandru-iacob/master

Multiple changes - implement LOCK, check common errors, remove obsolete files from CDN container
Merge pull request #27 from alexandru-iacob/devel

Pull into devel