Implements Multiclass hinge loss

Implements multiclass hinge loss. Fixes #3451 
can you give a more explicit test name? so that we can just look at the name of the test and quickly find out what it is about.