Gzip writer/reader

A general refactor of code to have the ability to provide other reads/writers in addition to sequence file readers. 

Added some tests for the writers and readers and also added a performance test.
I'm not going to add individual comments about indentation, but would you mind walking through your code and unifying it?