[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.
Do you have reason to believe the invariance test is insufficient?