Bug 1027670 - Add IME that handle LaTeX

- Add handler for compositeKey
- Add handler for backspace
- Add handler for period
- Add jumps

  Avoid jumps far from cursor.