duplicated code refactored into cocos2d.Platforms
removed changes from unmerged code
removed changes from unmerged code - 2
Merge pull request #15 from luisparravicini/platforms

Platforms