Adding support for gzip encoding in nrrds

Here's a second attempt.  Using the Zlib as recommended, the code is much cleaner now.
Again feel free to suggest changes, etc. especially with regards to the testing files.