MT#5865 Add some documentation about scenario.yml and prefs.yml syntax

(cherry picked from commit 236f7de1dccb8906e365425d9dc6798af32172d5)
MT#5789 add invite_foreign_dom scenario

(cherry picked from commit 4347a909dd6efbda081fbd1564152899e0551eff)
MT#5789 add incoming_foreign_dom scenario

(cherry picked from commit 8ecac5923d99af7b7e932931d662f9c54f0801fd)
MT#6491 adapt tests after ROUTE_CLIR moving.

(cherry picked from commit 3fb4a8e49c80ceaa964cc7cc5d8293a9af2a8239)
MT#6491 invite_speeddial: ROUTE_CLIR is now not called

(cherry picked from commit 48f6c4fe2b83f13c6231f46ec360101874992ae7)
Revert "MT#5887 fix a17d3c9ef4f2693fb05db603f2594278b3f8ffad"

This reverts commit 728dc46e21e6df0e440717ea80b60f0dd4d33c23.
Revert "MT#5887 copy the original config.yml file and restore it after the tests."

This reverts commit e3bcedc17c87414cde0dd87ecb1008b26dcd11f5.
MT#5789 foreign domain support

- bin/config_debug.pl: we need to deactivate dns_cache on lb
- bin/scenario.pl: generates scenario hosts file + adds info on scenario.csv
- bin/check.sh: uses the info from scenario.csv and hosts files

(cherry picked from commit cfb23bb974f2286ffc0d2d091e53c507ad0bbc81)
MT#5789 fix cfb23bb974f2286ffc0d2d091e53c507ad0bbc81

(cherry picked from commit 82d954384c3a09024a11018a76758c669de625cd)
MT#5887 copy the original config.yml file and restore it after the tests.

(cherry picked from commit a17d3c9ef4f2693fb05db603f2594278b3f8ffad)
MT#5887 fix a17d3c9ef4f2693fb05db603f2594278b3f8ffad

(cherry picked from commit 58b0eb8532f238cc7ba21f423d3a60960424c081)
(cherry picked from commit 728dc46e21e6df0e440717ea80b60f0dd4d33c23)
MT#5947 Add a way to use a wrong password for auth on the caller

(cherry picked from commit 89d4e27bbebe26aed96832ae30b8a3c8f9a63e35)
MT#5947 Add auth_fail scenario

(cherry picked from commit 22e6c54bfce87e7f07416406a7cd80c212dc203e)