Fixed #5042: Improve logic of CCLayer's setTouchEnabled
Merge branch 'v2.x' of https://github.com/cocos2d/cocos2d-html5 into v2.x
Merge pull request #1832 from pandamicro/v2.x

Fixed #5042: Improve logic of CCLayer's setTouchEnabled