remove hasBarcode max cardinality from every container

only needs to be declared to be on the container that should always have
barcodes, and in those case, it needs to be an "exactly one" measure,
not "up to one".
fix tests