Merge pull request #3 from cocos2d/develop

Pull down updates from cocos2d:develop #3
Issue #3349: add ClippingNode for canvas mode

Change the solution of clip methode to globalCompositionOperation
methode
Issue #3363 : update CCControlSwitch with more propre logic

Use CCClippingNode combined with RenderTexture instead of direct draw
Resolve a bug of variable not set
Issue #3349 : Update: Improve memory use with cache
Issue #3349 : Add fast draw
Issue #3349 : Update : use a shared cache for all Clipping Node
Merge pull request #1316 from pandamicro/develop

Issue #3349: UPDATE canvas mode for ClippingNode