We've got a config, let's pass that instead of lots of args
Close the bucket observer when shutting down a bucket.
Close up buckets after tests.

cbugg: close bug-337