test_api_client: refactor the code for new pytest based infra
This uses the latest pytest fixtures added in swh.core to define a
swh_storage fixture that setup a RPC client/server stack to execute
tests defined in classes TestStorage and TestStorageGeneratedData
(from swh.storage.tests.test_storage).