Constant output dummy classifier.

An attempt to fix https://github.com/scikit-learn/scikit-learn/issues/2003