added foldM for IterT

Doing something effectful on each iteration.