Cocos2d-iphone v.3.1 support

PolygonBatch has been removed since Cocos2d-iphone has automatic
batching. CCDrawingPrimitives calls have been changed to CCDrawNode
calls and the rendering of triangles have been ported to CCRenderer.
Xcode projects have been updated with the necessary GLKit dependancy
Use lastTime for AttachmentTimeline.

closes #221
Merge pull request #257 from jvasti/master

Cocos2d-iphone v.3.1 support
Fixes for the cocos2d-x v3.2 API
Merge pull request #260 from ricardoquesada/cocos2dx_v32_api_fixes

Fixes for the cocos2d-x v3.2 API
Minor license update for clarity.
Sample works with the new v3.2 API

Updates API in samples

Adds iOS and Mac projects. Convient Xcode project to test
the sample really easy.
Fixes compilation warnings
Merge pull request #261 from ricardoquesada/cocos2dx_v32_samples_fixes

Sample works with the new v3.2 API
Merge branch 'master' into monogame