Set the event listener list to undefined when all listeners are removed. Fixes bug where hasEventListener() was still returning true after event was removed.

Fixes https://github.com/openfl/openfl-html5-dom/issues/62 and https://github.com/openfl/openfl-html5-dom/issues/49