Utility function to reverse and complement sequences
Make "supplemental alignment" 's' in flag string lowercase, like the others
Fix flag behaviour on unmapped reads to match BWA

For unmapped reads whose mate is mapped on the reverse strand BWA sets
their reverse strand flag, copying it from the mapped read in the pair.
This commit changes our behaviour to match BWA's.
Fix printing of base and quality sequences, especially with supplementary alignments