Compression support

Adds a "compression" option (defaulted to false) that will enable gzip support in spark_api.