Add function cogroup().

You can make this a TODO with a reference to the JIRA.
Also can you try one more thing to see if we have a workaround ? I'm curious what happens if we create a local variable say something like `j <- i` and use `j` inside `lapply`. Does that still have the same problems ?