Moved Web Sockets IDL tests.
Added necessary EventHandler typedef.
Merged #1014.
Fixed merge conflicts for #1014.