Update p module with additional forEachSeq/forEachPar helper functions.

Change-Id: I5f28e1d68a3e39d2e74449bd64ba1eb19c7a9b54
Merge "Update p module with additional forEachSeq/forEachPar helper functions."