When user deletes a WebGL context, disconnect all event handlers associated with that context so that phantom GL context loss events or similar are not passed to user from contexts that are already supposed to be freed.
Merge pull request #2971 from juj/free_gl_eventhandlers

Free GL eventhandlers