CMakes support for Mac Os X & iOS

It was not easy to make cmakes work. Brew can help with 3rd party libraries.
You can test this by executing "cocos new..." and opening project in CLion.

brew tap homebrew/versions
brew install glfw3 freetype chipmunk protobuf webp

Please notice that default demo "HelloWorldScene" searches resources within project executable dir. But resources are copied into "Resources" directory. 

p.s. iOS not tested due to certificates problem. But on Mac everything works.