Acc Provider looks for env options in config; tests set them on the command line
Add some more debug-level diagnostics on what is happening at termination
Making sure that the exit code of a failed forked process  propagates to the RM app record, and to the exit code of the AM itself. This includes *reliably* converting an error of value -1 to an exit code that is not misinterpreted by YARN