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)
you are right that is the class layout we want (just those 2) and yeah it is super trivial to get dense features from matrices but everyone is going to need to do this all the time so we should include it.