Adding values function wrapper to API

This enable to easily convert a JavaPairRDD -> JavaRDD based on the values of the pairs. Keys are ignored.

I needed to add this since elasticsearch-hadoop lib for Spark returns JavaPairRDD by default.

Thanks!