Update edit distance and mismatches in single pass through bam (entire
reference loaded into memory).  Set max gap opens to 0 for alignment to
contigs.  Include reads with complex cigars or extensive clipping in
unaligned pile.  Check for dupes when assembling local region (in case
of complex reads being shared with unaligned pile).  Extensive
optimization.