Completed logic for YarnJobManager and new generic joblauncher.sh implementation.