Spun out some functions of generic_fns.model_selection into the new lib.model_selection module.
Authored by: bugman 2013-03-23
Parent: [r19069]
Child: [r19071]