Add gzip middleware

Only compresses assets. Adds gzipHandler and gzipResponseWriter. Doesn't use middlewares because assets appears to be a special case.