closed #4552: separate material ID and openGL ProgramID
closed #4552: change assert log message
Remove the old implementation of LabelTTF in test case.
Fix crashes in event dispatch other related safety checks/fixes

1: Add a fix to prevent events from being sent to scene nodes which are destroyed. Previously when a node was being destroyed it would try to unregister any event listeners it would have. This process would fail however in the case where event dispatching was already underway because we can't modify the listeners list while we are iterating through it. This is a pretty common occurrence since we often tear down & switch scenes in response to button clicks etc. Fix the problem by nulling out the slot for the listener we are removing in this case, so that it's node no longer receives any events after it is destroyed. The event dispatching code will cleanup this unused/nulled slot once the event processing loop has terminated.

2: When removing an event listener in cocos2d::EventDispatcher, ensure immediately it gets removed from the node priority map and dirty nodes set in order to ensure we don't inadvertently access any dangling pointers to nodes.

3: Add debug checks to ensure nodes have no associated event listeners after they are destroyed. This check will catch the problem fixed by (1) if it is still present.

4: Add some extra debug sanity checks in the event dispatcher to ensure nodes are not added to the lists twice and that they are being properly removed from the lists under certain conditions.

5: In cocos2d::Node's destructor NULL out members after releasing them in case they somehow happen to be accessed during the destructor. Move the release of the event dispatcher to the very end, since we need to check against it in debug.
Update the reference of submodule "cocos2d-console".
closed #4562, fix audio resume bug after stop the music
Merge pull request #6013 from natural-law/develop

Update the reference of submodule "cocos2d-console".
Merge pull request #6014 from andyque/fix_issue4562

closed #4562, Stopped music could also be resumed on iOS
Merge pull request #6 from pandamicro/develop

Fixed #4566: Fix bugs with LayerGradient constructor fix
Update CHANGELOG [ci skip]
Merge pull request #6003 from pandamicro/LayerGradientCtor

Fixed #4566: Constructor added for LayerGradient
[AUTO]: updating luabinding automatically
Merge pull request #6007 from Dhilan007/develop_testcase

Remove the old implementation of LabelTTF in test case.
Merge pull request #6015 from CocosRobot/update_lua_bindings_1395889786

[AUTO]: updating luabinding automatically
Replace NativeActivity with Cocos2dActivity and modify lua android project setting.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop_test
Merge pull request #6016 from samuele3hu/develop_test

Modify lua project setting and replace NativeActivity with Cocos2dActivity
Merge pull request #5977 from dabingnn/develop_fixID_Android_bug

Develop fix id android bug
[AUTO]: updating luabinding automatically
Merge pull request #6017 from CocosRobot/update_lua_bindings_1395899624

[AUTO]: updating luabinding automatically