codeintel: send dom event "codeintel_status_changed" when codeintel (de)activates

(integrated from trunk branch change 83cf72b by Todd Whiteman <toddw@activestate.com>)