Initialize GBM regression based on the distribution.

From R code:
 - regression (~gaussien distribution) - working response is initialized
as mean value as actual response
 - classification (~multiomial distribution) - working response is
   initialized byt 0
   - it is done when nclass>1
   - proper implementation should use bernoulli distribution for
     nclass==2 and multiomial in other cases