Removed delete from CC_SAFE_DELETE and changed 0 to nullptr on all CC_SAFE macros

This implements this issue: https://github.com/cocos2d/cocos2d-x/issues/3099

I've also change all pointer assignments to 0 to assignments to nullptr on the CC_SAFE macros.
Also aligned them for better readability :)
Adding CCControl js binding.
ControlEvent --> Control::EventType.
make CCBAnimationManager::getSequenceId public; add method CCBAnimationManager::getSequenceDuration to get duration of timeline;
update s3tc#1
update s3tc #2
update s3tc #3 ,android test
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
issue #2483: Upgrading spidermonkey library to v23 for all supported platforms.
issue #2483: The callback type of 'delete' property has been changed from 'JS_PropertyStub' to 'JS_DeletePropertyStub' in v23.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
[Android] Updating launch activity name.  ".TestJavascipt" --> "android.app.NativeActitiy" for TestJavascript project.
Updating Bindings-generator.
update s3tc #3 ,standard of code
issue #2483: Updating cocos2d-console.
Update nojava.txt with readme.
Merge pull request #3390 from folecr/comments

Update nojava.txt with readme.
Merge pull request #3388 from dumganhar/iss2483-sp-v23

closed 2483: Upgrading spidermonkey library to v23.
[AUTO] : updating submodule reference to latest autogenerated bindings
Merge pull request #3269 from metalbass/patch-4

Removed if from CC_SAFE_DELETE and changed 0 to nullptr on all CC_SA...