Small bugfixes and cleanups to BQSR

This fixes crashes when a contig is not present in the dbSNP and cleans up some of the dbSNP and BQSR code.