[SPARK-3110][YARN] Add a "ha" mode in YARN mode to keep executors in bet...

...ween restarts.

This patch takes an additional argument from the user and tells YARN to restart the AM if it dies and
also keep the same executors around for the restart attempts.