tests/dictionary.cpp: support the --pronounce option to use letter-to-phoneme rules on entries

This runs each entry in the specified dictionary through the
letter-to-phoneme rules, generating an output as if the entry was
a phoneme entry and the letter-to-phoneme pronunciation was the
result.