Adds Compression options to Zip Library

Hopefully this fixes #2537.

I don't know how to test this with an epub file though.
gzcompress allows for different compression levels for each file in the archive. I thought someone might want to change compression levels on demand. But I guess this could be added while still having public variables.