deposit.loader: Build revision out of the deposit api read metadata
Read "deposit" information out of the deposit read api and let the loader build the revision out of those information.
Prior to this commit, this read the "revision" entry with data already pre-built.
Related to swh-deposit!64 (closed)
Test Plan
tox
Migrated from D3048 (view on Phabricator)