Fixed multinode jobs to allow files to exist on shared storage.

Sometimes we want to run on a system where configs, logs, pid files, etc are on
the parallel file system (e.g. profiling). This change allows us to profile
Terasort using GPFS for example.

* 'basedir' is renamed 'localworkdir' which is local to each machine. 'workdir' is
added which is a common directory for all the machines.