fixed buffer bug in ZLibHelper
added :finalize attribute to copy, stream#copyfrom and stream#copyto
updated document
added test script for gzip module
renamed test-bzip2 -> test-gzip-bzip2
added :finalize attribute to call of copy function