Do not clean the environment also for scriptExe
Use input files to perform report. Fixes #4390

Also, fixed upload of runs and lumis for such files. It was not working.
fix publication for direct stageout
make max_retries, job_id and retry_count's integers instead of strings; increase max_retries by 3 instead of 10 for each resubmission
Merge pull request #4600 from AndresTanasijczuk/fix_publication

Fix publication
Merge pull request #4594 from mmascher/master

Pull for December bugfix release
Add log message for retries to RESTInteraction
Check if the filemetadata are there before failing