The export_dir is now always given

Every calculator writes on the file system, so the export_dir must be mandatory. We must also check that the directory exists and is writeable. See https://bugs.launchpad.net/oq-engine/+bug/1207248.
The tests are running here https://ci.openquake.org/job/zdevel_oq-commonlib/204.