Update of manager/collection for_each

- The functor accepted by for_each now returns a boolean value which
  indicates if the iteration should be aborted.