Update checkSequenceType to follow IUPAC rules

Update checkSequenceType to follow IUPAC rules and update functions
that rely on checkSequenceType to correctly handle new annotations.
Additional tests added as well.