Merge pull request #4 from cocos2d/master

Merge from the latest version of cocos2d
Added config macro for "spine" extension
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into develop
CocosDenshion: fixed wrong assertion in android OpenSL engine

Playback rate interface cannot be initialized for some players in
android 4.x, it's not cocos2d bug.
Now opacity option for shadow in CCLabelTTF works.
issue  #2377:add scriptHandlerMgr and modify ActionManager.lua
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into ScriptHandler
issue  #2377:Replace the CallFunc script Handler and repair Testlua Bug
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into ScriptHandler
issue  #2377:Remove registerNotificationHandler function
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into ScriptHandler
issue  #2377:Adjust tab and space
Added JSB support for ccpDistanceSQ.
Added JSB support for ccpDistanceSQ.
Add componentsSeparatedByString function for String class.

For String Class and string, there is no function to split the string.
So, I added componentsSeparatedByString function.
The function name is the same as NSString.
Merge branch 'jsb-distancesq' of https://github.com/jdmunro/cocos2d-x into jsb-distancesq

Conflicts:
	scripting/javascript/bindings/cocos2d_specifics.cpp
issue  #2377:Modify the ScripthandlerMgr struct and modify some lua test samples
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into ScriptHandler
add S9CascadeOpacityAndColor test