chore(scripting): extract scripting environments

Extract spin scripting environments from ScriptRule into external Files.

This allows reusing Spin script environments outside the scope of a
testcase.

related #CAM-2180