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

Adds cogroup for 4 RDDs.
Okay I looked yet again, this entire file is not exposed in e.g. the docs, so I guess this isn't public.