[WIP] ENH Implemented median and constant strategies in the DummyRegressor

Fixed issue #2718