Refactor the ProvenanceDB classes
- extract the common methods in a base class
- rename them as ProvenanceWithPathDB and ProvenanceWithoutPathDB,
- move everything in the swh/provenance/postgresql/ directory
Depends on !1 (closed)
Migrated from D5073 (view on Phabricator)