Refactor swh module to computes canonical github origins
Reusing the swh.core.github.utils.GitHubSession class.
Extra plan:
- Refactor swh.web to canonicalize the gh origin server side
- Adapt packagist lister
- Adapt remaining listers if any
- Adapt nixguix loader (or lister if it got refactored prior to this)
Migrated from T4279 (view on Phabricator)