Added script extract_barcodes.py, along with a tutorial. Partially addre...

...sses request in #531 regarding barcodes in headers.