SPARK-1126.  spark-app preliminary
Review feedback
Improve usage string
Don't create separate JVM and bash parsing of driver memory
Fix passing client memory opts
Add tests and docs.  Fix some things.
Set master system property
Infer deploy modes with YARN and don't load jars for --more-jars