Modifying conversion code to resolve #112.
Merge pull request #260 from fnothaft/sanity-check-flags

Modifying conversion code to resolve #112.
Added RichADAMRecord.referenceLengthFromCigar

Computes the length of a read against the reference sequence, using a regex
on the CIGAR string.