Implements Multiclass hinge loss

Implements multiclass hinge loss. Fixes #3451 
@jnothman @SaurabhJha Sorry this was a highly pretentious comment by me.