Support bypassing certain types of events

In a use case, we would like right click to not update the cursor position but still fire up the default context menu. Since we can't simply preventDefault() the event, we would like a method to inform CodeMirror that "contextmenu" events should just fall through.