completed database structure of quality mask (invalid and saturation added). more flexible configuration of PixelQuality class (for finetuning the mask).