RsyncRemote refactored with functional tests

PEP8 fixes

Related-Bug: #1570260
Partial-Bug: #1575759
Change-Id: I4a44ca3e2134dd67b25a3b3f57edbd46d7e237ca
2 files changed