Change database schema to use UPC as the primary key, since that's what we really want

Also add update and delete functionality and make it possible to load terms for a barcode.