Add working cv::Mat to QImage conversion.

this one works! (unlike the old)
added test for conversion
a performance test may be needed...