Added a test of CvModelEstimator2::checkSubset(...)
Fixed #2470
Rebase and merge pull request #342 from ilysenkov/bugfix_2470