gzip: added functions for encoding/decoding strings with gzip
bottle: add decorator for gzip encoding
funcy: and_then for serially applying single-argument functions