cassandra-sink: More tests.
decompress-deserializer: Add buffer to prevent full resets.

This adds a 'bufferLength' option which should be set to the
estimated maximum size of a batch of events. This will prevent
resetting compression from scratch most of the time, which was
a serious performance bottleneck in some cases.