Add remote lookup functionality to rsync

Lifts the relevant section from scp.fish and adds to rsync.fish to add similar remote path lookups to rsync.