generalization of aligner functions to support aligning alignments

The global aligners can now align pairs of sequences, pairs of alignments, or a sequence and an alignment. This is useful in progressive multiple sequence alignment.

Fixes #550.
The use of `map` may get a warning.

Is the need to cast to `str` to support aligning other data types?