Switch objective function test to use classes array dtype
Switch objective function test to use classes array dtype

I also reworked the logic a bit so that we only do the more detailed
checking if we've got a classifier and it's not using a
"classifier-only" objective function.

ernfrid/skll,ernfrid/skll