[MRG] Implements Multiclass hinge loss

Implements multiclass hinge loss. Fixes #3451 
But I admit that multiline `if` statements can be confusing.