letter.php: add nopt tokens as legal placeholders
letter.php: fix long comment
letter.php: fix copy paste error in token check
letter.php: add # of replacements in debugging output
letter.php: adapt to new token naming convention

-use opt-key instead of opt-token-key
letter.php: check for end of word in token replacement