FIX SVR complaining about a single class in the input

Decoupled SVC and SVR input validation logic. Fixes #1896.

BaseLibSVM could still do with some more refactoring to move
subclass-specific code out of its methods.