[MRG] Add quantile strategy to DummyRegressor. Fixes #3421.

Thanks for handling that case!

To check the number of samples in y, I would use
```
from .utils.validation import _num_samples

...

    if _num_samples(y) == 0:
        raise ValueError(...)

```

This will ensure that sparse output matrices are properly handled.