fixing animations out of sync error.
animation fixes for tweening blends sync problem.
Merge branch 'develop' of https://github.com/cocos2d/cocos2d-iphone into develop
Merge pull request #836 from jtwigg/develop

Animation Sync Errors.
Ups the version of Cocos2D to 3.1.1 and fixes printing of version number
Fixes templates
Fixes for CCRenderState copying and caching.
Don’t create cached renderstates for CCLabelTTF.
Fixed a minor issue with detecting default uniforms in CCNode.
Don’t add CCRenderTexture.sprite as a child.
Formatting cleanup.
Spelling fix.
Handle content scales more sanely.
Merge branch 'v3.1' into texturecache
Working on texture scaling.
CoreGraphics based image rescaling works.