handle trailing whitespace in dictionary file.

This trims whitespace from entries in a dictionary file.  It currently only trims words that don't have associated affix rules.