Testing log_loss and hinge_loss under THRESHOLDED_METRICS
FIX: Removed redundant code
TST: Test class variance and string input
FIX: Changed str vs float invariance test
Merge pull request #2717 from Manoj-Kumar-S/test_log_loss

Testing log_loss and hinge_loss under THRESHOLDED_METRICS