[SPARK-4668] Fix some documentation typos.

This is a pretty complicated description. Instead can we just say that this requires first running "mvn install"? Or even just do a "mvn install" in the code example above before you run it?