Adds method for calling 'sync' command remotely

Change-Id: Ia3d5aa97c2576ecb801f19d58b17fbfd450720b3