Added method to set gamma and inv_gamma.
Removed RGBColor's dependency on QColor.
Inlined set_gamma.
Added method to tone map, gamma correct, and integer map RGBColors.
Fixed typo.