[SPARKR-130] Add persist(storageLevel) API to RDD.

match.arg() function does the parameter validation. It will print out an error message if the parameter is invalid.