zlib compression support

Added zlib compression support. Saves disk space up to 2-5 times for textual data.
Possible improvements:
* wider algorithm support;
* do not compress already compressed data (archives, images, video and etc.)
Data structure is compatible with older cache structure.