Merge branch 'develop' of github.com:cocos2d/cocos2d-x into develop
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
issue #2087: Init Event::_userData.
issue #2087: Bug fix in EventDispatcher: _isRegister fix.
issue #2087: Adding new EventDispatcher Test.
   1) RemoveListenerWhenDispatching
   2) CustomEventTest
   3) LabelKeyboardEventTest
   4) SpriteAccelerationEventTest
issue #2087: Enabling acc when testing it.
issue #2087: Renaming EventDispatcherTest name to EventDispatcherTest(NEW)
Merge pull request #3696 from dumganhar/iss2087-new-event-dispatcher

issue #2087: Adding  new event dispatcher test and bug fixes.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
Fixing MenuTest crash.
Merge pull request #3697 from dumganhar/iss2087-new-event-dispatcher

Fixing MenuTest crash.
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]