prosody: test and fix handling of IPA tone markers

This adds tests for mapping IPA tone markers in phonetic
transcriptions to pitch contours in PHO file output.