Add standard config support and HTTP auth token for swh-scanner
- impl the standard SWH config scheme, which is:
- cli switch for config path
- envvar for config path
- default config path under ~/.config/swh/global
- default config mapping in the offending module
- added HTTP auth token support for requests to the SWH API
- replaced PosixPath to Path, which astracts away environment detail, in the whole package
Closes #2572 (closed)
Migrated from D3900 (view on Phabricator)