Api fixes and misc fixes

Adds const to char*'s so they can be called with "FIXED" values without compiler errors.
Drag in some of the comments from samtools headers to help newbies make sense of API.
Fix an occurrence where 0 has been used instead of NULL and 1 had been used instead of sizeof(uint8_t)
Fix so that legacy VCF can be loaded with empty index.