Added cocos2d-x style singleton for CCStoreInventory.