Use attribute rather than expando property for ignoring events

Also cause widgets with addWidget to have their events ignored.

See http://discuss.codemirror.net/t/click-to-clear-marker-created-with-cm-addwidget/98