Fixed lots of bugs in generic.cv and generic.bagging

* Tests for multiple parameter cv is still needed

* More complicated tests for bagging would be helpful

* 'c' is confusing to use because it is already overridden. Need a
  better way to call 'c'