Compress responses using Gzip.

This was accidentally removed during the restructuring of the app.

This branch takes care of compression as well as fixes the setup in config.py:
one try catch failure won't trigger the rest of the variables to get set to
their default values.