Implements Multiclass hinge loss

Implements multiclass hinge loss. Fixes #3451 
I am not able to get this comment. Can you please give an example?