prevent mispelled words from being entered

- add check of mispelled word if a test has a mispelled word dictionary
- throw an exception notice in applicable edit classes whenever a word is
classified as mispelled
enhance word validations and handle mispellings

- centralize word validation to static function in database\word class
- clean up trailing spaces on line ends
- handle mispelled words