[SPARK-2165] spark on yarn: add support for setting maxAppAttempts in the ApplicationSubmissionContext

Can you add something like "cluster default setting will be used" to the log statement?