Fixed #3427: add a condition to check parameter for addListener
Merge branch 'develop-3.0' of https://github.com/cocos2d/cocos2d-html5 into Iss3427_NewEventDispatcher
Merge pull request #1626 from dingpinglv/Iss3427_NewEventDispatcher

Fixed #3427: add a condition to check parameter for addListener