SPARK-4447. Remove layers of abstraction in YARN code no longer needed after dropping yarn-alpha

(And by "you" I mean the person who wrote the original code you're moving around, a.k.a. probably "me".)