support listing buckets by delimiter, with tests

This commit extends the GET method on buckets so that objects
can be listed using a delimiter, such that the result contains
not just a list of keys, but also (possibly) a list of common
prefixes.

For reference, see http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketGET.html