Compress responses when appropriate

Addresses #85 

We still need to store allow clients to get gzip'd JSON/JSONP data from S3.

/cc @hampelm