Svm updates

It's valuable in some cases to modify the default SVM termination criteria (especially in the `train_auto` function).  This branch introduces parameters to do that.  Also added are options to specify the number of folds, and whether the folds are balanced in the two-category classification case (both options are for `train_auto`).