Migrate documentation from samtools bam.h to sam.h and add a few more items.
Add Copyright notice.