Added CRAM support to htslib and htscmd samview.
This is just a port over from the samtools io_lib subdirectory and has
all the same nasties and duplication of abstract data types.