Placed cross-validation partition code into helper-partition-data.r.
Slight code cleanup of CV partitioning.
Cleaned up and added unit tests for partitioning data for cross-validation. Related to #8
Added check to cv_partition to ensure num_folds <= length(y). Closes #8