Fixed script for parsing BLAST output
Fixed a few bugs in blast2sam.pl script, added POD documentation
Convert phase to htslib API

Convert samtools phase command to use new htslib API.
Remove bam1_dup from bam.h to make room for htslib bam1_dup.

Signed-off-by: Martin O. Pollard <mp15@sanger.ac.uk>
bam_dup1() is now provided by htslib

As of samtools/htslib@cd410e1cf9a3d422f990a34caa10e63bfecfd5e5 this
function is provided by <htslib/sam.h>, which this header #includes.
Merge phase.c htslibification (PR #190)
Merge blast2sam.pl improvements (PR #114)
Clean up merge memleaks

Clean up memory leaks in header manipulation code

Signed-off-by: Martin O. Pollard <mp15@sanger.ac.uk>
Make merge take union of commandline and -b inputs

Make merge command take union of command line input file and those listed in
-b's fofn.

Signed-off-by: Martin O. Pollard <mp15@sanger.ac.uk>
Merge pull request #2 from mp15/merge_unioninput

Merge memfix, merge unioninput, and a few other prereqs