[Spark-1234] clean up text in running-on-yarn.md yarn-client section

Clean up several minor typos, incomplete sentences and so on in the "yarn-client" instructions of running-on-yarn.md.  (This PR appears to include an unrelated commit to the pyspark script I made earlier.  That isn't supposed to be part of this PR but I don't know how to exclude it)