Migrate documentation from samtools

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