Replace bam2fq numbers with existing constands

bam2fq:
-Replace flag constants written as numbers like 0x40 with #defines
 like BAM_FREAD1.
-Add per file copyright license (MIT).