SPARK-1496: Have jarOfClass return Option[String]

A simple change, mostly had to change a bunch of example code.