Reduce possibility of detecting white rectangles within barcodes

Modified WhiteRectangleDetector to continue expanding the rectangle until each side has passed through at least one black point.  (Or until the edge of the image is reached, of course.)