twister: make test configuration handling a class Split test configuration code into own class and do parsing in two steps to get the right context of platforms and scenarios. Fixes zephyrproject-rtos/zephyr#89774 Signed-off-by: Anas Nashif <anas.nashif@intel.com>