Implements Multiclass hinge loss

Implements multiclass hinge loss. Fixes #3451 
Alright, I will remove this if condition in next commit. The reasoning would be if the user includes labels, do the calculation with respect to labels. Otherwise, do it with respect to y, assuming that y is in the right format.