a potential bug in Layer.

https://github.com/cocos2d/cocos2d-x/issues/2948
Update CCLayer.cpp

change "_accelerometerEnabled = false"
to "setAccelerometerEnabled(false)"
in method init().
a potential bug in ScrollView

check _touches in setTouchEnabled
Fix for #2892.
1. Updatet the API documentation and parameter name from "object" to "sender" to reflect it's true purpose.
2. Fixed addObserver and observerExisted because it didn't allowed to add observers to notifications that only differs by sender
Fix for #2892.
3. Fixed registerScriptObserver method.
Let CCDirector set all GL state
Compiles with improved CCArray

Compiles both with std::vector or ccCArray
Fixes crash when reordering
small fix to make it compile with std::vector too
Merge pull request #2950 from zcgit/develop

a potential bug in Layer.
Update AUTHORS
Merge pull request #3439 from folecr/android_rendering_bugfix

Let CCDirector set all GL state in the Android port
Merge pull request #3285 from gkosciolek/fix_for_CCNotificationCenter

closed 2611: Fixing the bug that observers with the same target and selector but different sender are the same observer in NotificationCenter.
Update AUTHORS [ci skip]
Merge pull request #3440 from ricardoquesada/better_array

Better array
Update CCScrollView.cpp

change release mode
Merge pull request #3442 from xbruce/develop

closed 2612: Crash appears when extending cc.ScrollView in JS.
Update AUTHORS [ci skip]
closed #2586: The utf8 response in XmlHttpRequest are mess codes.
[Best C++ practice] ResponseType is enum class now.  Renaming properties in MinXmlHttpRequest class.