some changes in barcode util

as requested by Mike. It allows wwwadmin users to specify more details about the sample in the emails sent out.