Add assertions for content type in integration specs
Set content-type on uploaded gz files so they don't get the S3 default of 'application/x-gzip' which browsers don't seem to like.
Fix extraction of uncompressed filename for .gz mime type setting