Vending Database Upgrades

Now saves historical data and tells if an item is actually sold.