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.
closed #102, add CC_CONSTRUCTOR_ACCESS to CCProtectedNode
Merge pull request #6021 from andyque/fix_temp

closed #102, add CC_CONSTRUCTOR_ACCESS to CCProtectedNode
closed #4565:fixed logical error in Label::setFontAtlas.
[Jenkins] Make build as failed when generating bindings fails
Merge pull request #6022 from Dhilan007/develop_label4565

closed #4565:fixed logical error in Label::setFontAtlas.
Merge pull request #6023 from lmskater/fix-generator-bindings-fail

[Jenkins] Make build as failed when generating bindings fails
Merge pull request #6020 from samuele3hu/develop_test

Update the cocos2dx.ini for lua binding
[AUTO]: updating luabinding automatically
Merge pull request #6024 from CocosRobot/update_lua_bindings_1395903260

[AUTO]: updating luabinding automatically
[AUTO][ci skip]: updating cocos2dx_files.json
Merge pull request #6025 from CocosRobot/update_cocosfiles_1395903852

[AUTO][ci skip]: updating cocos2dx_files.json
closed #4569:Texture2D support for update partial texture
Merge pull request #6019 from Dhilan007/develop_label

closed #4569:Texture2D support for update partial texture
Update CHANGELOG [ci skip]
[AUTO]: updating luabinding automatically
closed #4494::Easy to sets texture parameters of label's cache textures.
Add tools/bindings-generator & tools/tolua into the  lua project template.
Merge pull request #6027 from CocosRobot/update_lua_bindings_1395905692

[AUTO]: updating luabinding automatically
Merge pull request #6028 from Dhilan007/develop_label

closed #4494:: Easier for set texture parameters of label's cache textures.