Extend s3.popup.js for foreign controller lookups (=from the opposite
end of the link), fixes AddResourceLink Organisation=>Projects when
projects can have multiple orgs.