SPARK-1576 (Allow JAVA_OPTS to be passed as a command line parameter to YARN client)