[SPARK-2082] stratified sampling in PairRDDFunctions that guarantees exact sample size

Implemented stratified sampling that guarantees exact sample size using ScaRSR with two passes over the RDD for sampling without replacement and three passes for sampling with replacement.
Actually what's the rule of thumb here? I was under the impression that if you put your arguments on different lines the return type needs its own line, no?