replace CC_SAFE_RELEASE  to  CC_SAFE_RELEASE_NULL.
Add SceneTest search paths.
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
Merge branch 'master' into master_nutty_modify_framework_fixedmemleak