RF: move script test machinery into own module

Use scriptrunner module that started off in the delocate project. Well, it
started in the test_scripts.py module here, but I refactored it in the
delocate project, and the refactoring is coming back home.