Integrate the attached client code into the dax api.
- implement:
@self._needs_submit_dir
@self._needs_client
- when plan() is called with no args, self.write() (the workflow) should be called and we need to decide where to write the file to (current dir? .pegasus dir?)