Big changes towards htslib and away from the samtools lib
Debugged a few things but seems to work with bambed.