factory bam writer
fixed format, added a test in SAMFileWriterFactoryTest
Slight refactor.
Merge pull request #13 from samtools/pl_sam_writer_factory_stream

Pl sam writer factory stream