[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