cv::Mat to CDenseFeature conversion Factory and vice versa.

I have made a factory which directly converts any cvMat object into any(required) type of CDenseFeatures. 
and  CDenseFeature<float64_t> into the required type of cvMat (any)
we shouldn't need to redefine this class in each test file - lets put it in its own file