fixed #2296 Migrate cocoa and shaders to Cocos2d-x 2.1.4

Migrate cocoa and shaders to Cocos2d-x 2.1.4