add support for gzipping object containers

each block is gzipped independendly. Adding other compression types is trivial, except that the interface for specifying such things is a mess.