Function to get expected barcode from statusDB

This program is being used during demultiplexing to extract barcodes from the fastq files.
Added a function for getting the expected barcode from statusDB. Useful when it is not present in the csv samplesheet.