Add LZ4 compression functions to public API. Expose the VectorBuffer compression/decompression functions also to script. Closes #438.