Make command registry backward compatible with jQuery::on and ::trigger

Closes #3731

This PR applies some surgical patching to jQuery so that commands registered with `atom.commands.add` integrate smoothly with jQuery event handlers registered with `$::on` and `$::command`. Now a jQuery handler can stop propagation to a command registry handler and vice-versa.