Add word diff methods.

Works like lines diffs but splits text into words rather than lines.
Remove extra dictionary lookup in line diff.