Add functions for idxstats

Add functions to access inside hts_idx_t and retrieve stats.

Signed-off-by: Martin O. Pollard <mp15@sanger.ac.uk>