Add in-memory storage.
Test Plan: Land the two parent diffs, then rebase this one on top of them.
Reviewers: Reviewers, douardda
Reviewed By: Reviewers, douardda
Subscribers: olasd, douardda, swh-public-ci
Differential Revision: https://forge.softwareheritage.org/D645