made orderedwriter more generic, rewrote parts in khash, additional optimization syncedreader, changed writeouts to bcf2.1 in vcf.c