Another bug fix for the VariantsRDD and toJavaVariant

Hi Elmer,

I see in your pca branch that you are starting to set up the pattern for proper tests.  I will move the code that exercises new toJavaVariant method from the sample to a real test once your changes are merged to your master branch.

Thanks!
Nicole