Fixed the grayscale histogram
Added linear equalization.

Fixed potential problems in the cumulative and normalized vectors in
ImgManip::Histogram.
Added color inversion for indexed grayscale images.
LUTDialog has been modified to display an arbitrary LUT.
Added a method Manipulator::lut() to retrieve the color table.