Infinite loop bug

This caused an infinite loop when I had a string along the lines of something like " Next ". This is the simple fix.
issue #3251 Fixed bug of armature that it display wrong when set content scale.
Merge pull request #1258 from HoGarfield/CCControlEvent

Fixed bug that CCControl send action by all types of event.
Issue #2829: fixed a bug of WebAudioEngine that it's effect can't stop/pause when the effect didn't preload.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-html5 into Iss2829_ImproveAudioCompatibility
Merge pull request #1259 from dingpinglv/Iss2829_ImproveAudioCompatibility

Issue #2829: fixed a bug of WebAudioEngine that it's effect can't stop/pause when the effect didn't preload.
add json support to SpriteFrameCache
add json support to SpriteFrameCache
add json support to SpriteFrameCache
Merge pull request #1260 from ShengxiangChen/issue_addSpriteFramesWithJson

add json support to SpriteFrameCache
closed #3256: Fixed a bug of CCActionInterval that it will error when target have not own RGBAProtocol.
Merge pull request #1261 from xingsenma/develop_action

closed #3256: Fixed a bug of CCActionInterval that it will error when target have not own RGBAProtocol.
fixed SpriteFramceCache's bug that parsing a wrong Rotated value to SpriteFrame
Merge pull request #1262 from dingpinglv/Iss_AddJsonSupport

fixed SpriteFramceCache's bug that parsing a wrong Rotated value to SpriteFrame
Merge pull request #1252 from csaftoiu/patch-2

Infinite loop bug
fixed a bug for getting plist path in CCAnimationCache
fixed a bug for looping animation in CCAnimationCache
Merge pull request #1264 from HoGarfield/CCSpriteLoader

Fixed bug that the size of Menu and Layer is not set to 0,0 , when is set to 0,0 in CocosBuilder
Merge pull request #1265 from ShengxiangChen/issue_animationCache

fixed a bug for getting plist path in CCAnimationCache
fix bug: ParticelBatchNode effect is inconsistent with ParticelSystem