optimize,util: moving parForeach and friends from optimize.TrainerHelpers to util.Threading
Merge pull request #27 from alextp/move-parallel-foreach

optimize,util: moving parForeach and friends from optimize.TrainerHelpers to util.Threading