ReImplement forEachParallel for TBB or OpenMP

Implement with TBB and OpenMP.
Automatically switch depending on macro definition.