[MRG+1] Implements Multiclass hinge loss

Implements multiclass hinge loss. Fixes #3451 
Maybe we should have a separate issue or PR to deal with this thing.