[WIP][SPARK-1720][SPARK-1719] use LD_LIBRARY_PATH instead of -Djava.library.path

This is another implementation about #1031
Now, there is no build command line code in `Command `.  Most of the relevant code in `CommandUtils `.  I think it is reasonable to code in here.