Eventscripts: make loadconfig() function hookable by the test suite.