The Lov\'asz Hinge: A Novel Convex Surrogate for Submodular Losses