add_batch: Add support for list of (obj_id, content) in addition to dicts
The existing type, {obj_id: content} did not allow composite obj_ids, because composite obj_ids are dicts so they are not hashable.
As discussed on swh-storage!799 (closed) (cc @douardda)