Merge branch 'develop' of github.com:cocos2d/cocos2d-x into develop
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
make Director::end() reantrant
Merge pull request #3698 from minggo/develop

make Director::end() reantrant
Unify Accelerometer coordinate on IOS and Android.
Small fixes for Xcode templates

Also, uses `auto` in the template code to be more c++11 friendly
version is v3.0-alpha0
Fixing crash of ACC-Test.
Merge pull request #3702 from ricardoquesada/update_cocos2d_version

version is v3.0-alpha0[ci skip]
Merge pull request #3701 from ricardoquesada/xcode_template_fixes

Small fixes for Xcode templates[ci skip]
Merge pull request #3699 from Dhilan007/develop

Unify Accelerometer coordinate on IOS and Android.[ci skip]
Merge pull request #3703 from dumganhar/iss2087-new-event-dispatcher

Fixing crash of ACC-Test.[ci skip]
issue #2087: Adding CustomEvent and CustomEventListener classes. Make Event and EventListener as abstract classes.
issue #2087: Fixing crash of ComponentTest.
issue #2087: Should not use fixed priority with 0 value, it's for scene graph based priority.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2087-new-event-dispatcher
issue #2087: Setting default touch priority to -1 for CCInputDelegate
issue #2087: Adding customevent and CustomEventListener to VS project.
Merge branch 'iss2087-new-event-dispatcher' of z:/Project/cocos2d-x into iss2087-new-event-dispatcher