inventory bug fixes

- added new class TS_Product
- added new function ts_get_product()
- updated inventory to have packages always in stock
- added inventory metabox to product edit pages in CMS
updated inventory count mechanism