Fixed issue 3815. Discrete AdaBoostClassifier now fails early if the base classifier if worse than random.
TST stronger non-regression test for #3815

Also fixed the testing imports.
Merge branch 'pr/3837'

Fixes gh-3815.