[SPARK-4697][YARN]System properties should override environment variables

I found some arguments in yarn module take environment variables before system properties while the latter override the former in core module.
Hey @WangTaoTheTonic as mentioned by others this breaks the Spark app name ordering detailed here: #539. If you want to make this change then you need to special case the app name.