Handle mousedown events only for left button in editors

Fixes https://github.com/atom/atom/issues/2350

This adds a check to the classic and react editor so that mousedown events are handled only for the left mouse button. Currently, handling events for the right mouse button causes selections to be canceled after a right click.

cc @nathansobo