[InputEvent] Fire 'beforeinput'/'input' for 6 text styling actions

This CL adds support for the following text styling actions:
1. Bold
2. Italic
3. Underline
4. StrikeThrough
5. Superscript
6. Subscript

'beforeinput' and 'input' events will be fired on context menu actions and hotkeys such as Ctrl+b or Ctrl+i.
(Note: 4,5,6 may not have associated hotkeys currently, but they might be fired from context menu.)

Additionally, 'input' events will also be fired on |execCommand()| for backward compatibility.

BUG=585875

Review-Url: https://codereview.chromium.org/2141133003
Cr-Commit-Position: refs/heads/master@{#405824}
6 files changed