[SPARK-1720][SPARK-1719] Add the value of  LD_LIBRARY_PATH to the java opts "java.library.path"  

- [X] Standalone
- [X] YARN 
- [X] Mesos
- [X] Test cases
I'm not a fan of the name of this method. Maybe "libraryPathScriptVar"? (Ugly but less cryptic.)