SPARK-1868: Users should be allowed to cogroup at least 4 RDDs

Adds cogroup for 4 RDDs.
ah I see - I guess this is an internal API (?) (sorry not super familiar with this part of the code).