fix memset was not declared in this scope
update the TestsDemo project
adding org.cocos2dx.lib.util for in app purchases