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.
Migrated from D100 (view on Phabricator)