Patch from Thomas Graves to improve the YARN Client, and move to more production ready hadoop yarn branch