Add a listing perfdiag test.

* Add a listing test that writes N objects, waits for them to show up, then
  deletes the N objects and waits for them to disappear.
* Fix a set/list bug in gcs_json_api.