Tview update

This restores tview functionality to life whilst removing dependancy on sam_header.c and porting most functions to htslib.