Bug fix for posting problem with negative inventory usage. Bug caused
table inventory_cogs_owed to grow and could result in improper posting
of cost of goods sold values.
Added new tool to flush/repair inventory_cogs_owed table