Implements Multiclass hinge loss

Implements multiclass hinge loss. Fixes #3451 
If possible, I'd like to not have to special-case the multi-class case unless that is necessary according to its definition.