Cocos2d OSX

adapt the binding for MacOSX. As an extra, builds cocos2d.dylib.

'make osx' in bindings, then build and run the sample