[MRG] Adds support for sample weight in hinge loss

This is dependent on #3607. I will uncomment the added lines after it's merge in main tree.
This should not be necessary. `np.average` already handles the case where `weights=None`