This commit will add code cleanup as corrected and alerted by rubocop. It also adds rules to execute rubocop on Travis.
* dirname containing base directory of java * e.g. java binary is `${::java_default_home}/jre/bin/java` * dirname containing `libjvm.so` * Most people will use this for LD_LIBRARY_PATH