Ship log4j.jar with OMERO.matlab and add it conditionally to the Java path

This commit refactors the getOmeroJars() logic to rely on the Java class path
rather on hard-coded versions of MATLAB. The log4j and slf4j dependencies are
assessed independently.