MDL-41274 editpdf: Add black color + code cleaning