Mostly refactoring for the live dictionary update feature:
- Refactored translator to not retranslate already translated strokes on each stroke unless the translation changes. This is necessary for being able to modify the dictionary on the fly.
- Refactored formatter to be stateless. This makes live changes less complicated.
- Fixed new orthography package's handling of doubled final consonants for words with letter q as in equip -> equipped
- Added unit tests
Some follow up changes:
- Fix translation logging
- Make the logs be in order: stroke first then translation
- Add tests for changing the translator's state
Merge pull request #79 from balshetzer/master

Refactored translator and formatting to allow live changes.