Keep configuration when non gui processing

- create callable classes in order to get the setParameters function.
- copy parameters to the xas_obj processed.
- /close #2
2 jobs for fix_2 in 8 minutes and 46 seconds (queued for 3 seconds)
Status Name Job ID Coverage
  Test
passed test:python3.5-stretch-pyqt5 #39431

00:04:23

passed test:python3.5-stretch-pyside2 #39432

00:04:22