Allow custom add/removeEventListener in $.event.add/remove

This is to support integration with the atom global command registry
for backward-compatibility purposes.
3.7.0