Removed old hts_file_type() API and replaced it with the new htsFormat;

vcf writers and synced_bcf_reader to use the new API; bgzf set
is_gzip flag when reading; new tabix -i option;  check return
status of hts_close in test-vcf-api