xtk domutils: use Object.keys in fireDataEvent

(integrated from master branch change 85013fa by Todd Whiteman <toddw@activestate.com>)