gbc: allow weighting examples and custom loss

do it like:

class MyLossFunction:
  ...the three required functions...

GradientBoostingClassifier(loss='my.module.MyLossFunction', example_weights=np.array(...))