[SPARK-4298][Core] - The spark-submit cannot read Main-Class from Manifest.

Resolves a bug where the `Main-Class` from a .jar file wasn't being read in properly. This was caused by the fact that the `primaryResource` object was a URI and needed to be normalized through a call to `.getPath` before it could be passed into the `JarFile` object.
by the way I would do string interpolation here and other places
```
case _ =>
  SparkSubmit.printErrorAndExit(
    s"Cannot load main class from JAR $primaryResource with URI $uriScheme")
```