test with OpenCV-2.4.5
fix UNIFORM_FLAG with OpenCV-1.1
fix Cv::BGCodeBookModel->import