Check for null selection

getRangeAt(0) will throw on null selection. Add guard in
ReactDOMSelection and DocumentSelection.
Better click behavior for ff

Firefox created onClick events for right mouse clicks. This diff brings behavior on firefox inline with other browsers.
Remove DOM mutation listeners

Mutation listeners are known to be slow. Rough benchmarks show text
changes are now 50% faster.