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)
so this solution was hacky by me - we should test all the conversion methods. I think the best bet is to actually copy and paste all these tests 2 more times and then have them run for each option. I'm open to other ideas but this way is the best I can think of - its a lot of similar code but its easy to see exactly what test failed.