Add test for one-to-many index + bucket transitions

Add a test to make sure that an index with many associated buckets
only has a subset of it's data deleted when the association is removed
from one of the buckets.

* Move `http_put` to `yz_rt`.

* Add sleeps to `yz_errors` to account for soft-commit.