improved felxibility in handling terminal stop codons

[NEW] allow_partial argument to hasTerminalStops and withoutTerminalStopCodons
    methods on Alignment and SequenceCollection objects allows handling
    sequences that are not divisible by 3. The corresponding methods on the
    Sequence object has been similarly modified.