better logging when submitting a driver job to YARN

also, add common Hadoop environment variables to classpath; other minor fixes