Enable gzip for more than just text/html.

nginx only gzips text/html by default. You have to tell it additional
content types that needs to be gzipped. I've added css, javascript, and
json response types to be gzipped.