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