Added cocos2d-x style singleton for CCStoreInventory.

As discussed in #83