Fixes for CCRenderState copying and caching.
Don’t create cached renderstates for CCLabelTTF.
Fixed a minor issue with detecting default uniforms in CCNode.
Merge pull request #838 from osinoleg/develop

Latest CCEffect changes
Merge branch 'v3.1' into develop
Don’t add CCRenderTexture.sprite as a child.
Formatting cleanup.
Merge branch 'v3.1' into develop