Add new API to support stream decompression

* 1.  Add new API to support stream decompression(readCurrentEntryData returns part of the data)
* 2.  Fix bugs in ArchiveWriter 
* 3.  Fix make test