Renamed 'UPC' learning opportunities to the more generic 'barcode'
Added learning opportunity functionality to scan.py.

Also, moved conf into its own module.