[SPARKR-94] Add a  method to get an element of a pair RDD object by key.

Can you also add a test case where no match is found ?