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
[Tizen] Remove Tizen 2.1 headers and libraries.
[Tizen] Enable LocalStorage
- add sqlite3 headers and libraries.
- use sqlite3 library.
issue #2483: Updating cocos2d-console.
Merge pull request #3387 from pyrasis/tizen_2.2

[Tizen] Enable LocalStorage
Update nojava.txt with readme.
Merge pull request #3390 from folecr/comments

Update nojava.txt with readme.