Automatically gzip responses in cgi-endpoint

Uses the cheapest compression possible which gets us the best
bang for the buck I think.

Not tested yet, but I suspect it will be benefitial for odata
and csv.