Add tests for the cloud object storage
Create mock classes for the libcloud driver so the objstorage behavior can be checked.
Also, catch a libcloud exception and raise swh exception instead at the lower possible level in the code.
Reviewers: Reviewers, ardumont
Reviewed By: Reviewers, ardumont
Differential Revision: https://forge.softwareheritage.org/D100