Add hts_set_fai_filename(); parse .fai in sam_hdr_read()

Provide hts_set_fai_filename() to (optionally) set htsFile::fn_aux
instead of from a third hts_open() parameter.  Implement deriving @SQ
headers from the .fai file if necessary, much as vcf_hdr_read() does.
Remove now-unused fn_aux hts_open() parameter

(Only test/test_view.c passed non-NULL here, but it was passing a .fa
filename rather than .fa.fai, so it should have been passing NULL too.)
Migrate documentation from samtools bam.h to sam.h and add a few more items.
Add Copyright notice.