Add tests for the remote objstorage API and share some code with storage.api tests
Add some nosetest unit-tests for the remote object storage client/server
API, and perform some refactoring in the test of swh.storage.api in order
to share code, due to very similar architecture.