replace CC_SAFE_RELEASE  to  CC_SAFE_RELEASE_NULL.
Merge pull request #4906 from samuele3hu/masterFix

Fix:Resolve the error that CocoStudioSceneTest loading files invoked
load --> Load for resources.
Fixing Linux 32bit building failure.
Updates TestCpp/proj.linux/Makefile for linking error of missing pthread.
Add SceneTest search paths.
Merge pull request #4908 from dumganhar/master-linux-32bit-fix

Master linux 32bit fix
Fixed bugs and memory leak
Adds execute permission for lua template.
Merge pull request #4914 from dumganhar/master-linux-32bit-fix

Adds execute permission for lua template.
Modify loadSceneEdtiorFileTest to LoadSceneEdtiorFileTest.
Merge branch 'master' into fixesBugs_Master
Merge pull request #4910 from chengstory/fixesBugs_Master

Fixes bugs on cocos2dx 2.x
Modify wrong codes
Merge branch 'master' into master_nutty_modify_framework_fixedmemleak
Merge pull request #4912 from nutty898/master_nutty_modify_framework_fixedmemleak

Fixed bugs and memory leak
curl build config in wp8 emulator
Merge pull request #4921 from koowolf/curl

curl build config in wp8 emulator
Compilation error fix for blackberry.
removed winsock2.h and restored timeval struct to fix broken winrt builds