Keep the style of the surrounding code
Add HTS_IDX_NONE and document HTS_IDX_*

Also change hts_itr_next() to return -1 when iter==NULL instead of
crashing on the next line.  Presumably this is what was intended by
the original faulty "iter &&" test.
Merge #68, fix incorrect length given to MD5 calculation

Fixes #67.  Also bump copyright notice date.
Add 'a' (append) mode letter; propagate mode letters

For bgzf_[dh]open() and hts_open(), treat 'a' the same as 'w';
the underlying hopen() will treat it differently and open the file
in append mode.  So that hopen() can do that (and so that it gets
to see other eventual mode letters that it will be interested in),
propagate _mode_ itself to underlying *_open() calls rather than
slicing it to just 'r' or 'w'.

It has been verified that there is (currently) no conflict amongst
the mode letters acted upon by different *_open() functions at their
different levels.
Add "data:blahblah" in-memory hFILE backend (read-only)

Currently read-only; implementing writing would be useful but a little
more complex.

This is akin to the data URI scheme (RFC 2397) but without the leading
MIME-type etc.  We may want to change this to require (or perhaps ignore
if present) a leading comma, which would make for the same syntax as the
URI scheme.
fix remote fetching of regions for bam and vcf

hts.c: if `_USE_KNETFILE` is set, then remote fetching of a bam or vcf
region with `samtools view` or `bcftools view` will now work (after a
few attempts to get a usually non-existant .csi file).
Use hFILE rather than knet in test_and_fetch()

By using hFILE, fetching indices will work with other remote protocols
added to hFILE, e.g. iRODS.  Before this works, the existing ftp|http
check will need to be made more flexible (see FIXME).
Merge #70, fetching of remote BAM/VCF indices

Fixes #69, using the index for remote files.
Fixed a bug when loading in fasta files consisting of all sequence on
a single line and in lowercase.

The uppercasing code was only being called during the loop to strip
out newlines.
Fix sam_format1 failure on lines ending in integer/float tags and issue #63

This fixes a bug in sam_format1 where it gets a check to see if it has gone
off the end of the bam1_t data structure wrong when writing out optional
tags.  This affects any line ending in an integer or floating-point tag.

Also fixes __skip_tag so that it works properly with floating point tags
(issue #63).