Integrate all modules into cocos2d and related luacocos2d and adjust the related test cases