Widget: Support events with dashes and colons

Added support for dashes and colons into the widget component. It will now listen to any triggered event which name contains colon or dash (hyphen).

Fixes #9708

Ref https://github.com/jquery/jquery-ui/pull/1158 (closed PR)

Thanks @scottgonzalez for pointing me into the right direction on this one.