Add invoke(), for_each() and for_each_right()

Ok, I'll reverse it back once I get the returned collection. Both for_each and for_each_right return the collection in the same order they were pasted.