Bug 876658 - Dont perform autocorrect if old & new word are the same

Fix for [#876658](https://bugzilla.mozilla.org/show_bug.cgi?id=876658). Currently the word is replaced by the new word even if the 2 words are the same. Because this is blocking you'll see a flicker, which is pretty annoying.