add infrastructure for BAM merging
refactor BitIOInput for marked streams
add branch hints macros
add BAM concatenation and BAM merging code