some changes in barcode util

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