Job.warning(): New method; use this instead of writing to sys.stderr
directly. Ensures warnings are also sent to the log
file.
Job.log(): New method; write a message to the log file. Use from
.message() and .warning().
portable.
Several things that had been done by running a python script are now a
matter of importing the right module and running a function with a few
parameters.