Add utility function to retrieve canonical github urls
This new code is within a new arborescence as some more code will get moved alongside in
a new commit (the new session github currently in swh.lister module).
That current code is making anonymous requests to the github api for now.
Related to T4232