Fix a long standing bug where mapred.local.dir was being misused.
Now split it by comma.

Added -license option to hadoop driver.  Write license file to
mapred.local.dir if a license file is provided.