[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.
You are right. Invariance test is sufficient here. I will remove this in next commit.