MDL-42385 behat: New test to cover MDL-38661

Also refactoring set site settings step
as it has problems to deal with multiple-field
settings.
MDL-42385 - WIP