Add gzip compression

Use Flask-Compress to add gzip compression to the result we serve. This
should hopefully decrease query latency for large responses where client
and server are "far" away from each other.

Fixes #281.