Fasta: add sequence_to_int_list function

We had declared availability of this function in the docs but forgot to
provide it.