Fixed run method so it copies the cmd dict so as not to change in place
Removed all references to cloud from client.api.py since we are now using the runner.cloud
for the cloud interface
Merge pull request #8568 from SmithSamuelM/client_api_run

Client api run