Fix code injection via template expansion
Pass the needs JSON through an environment variable instead of
directly interpolating it into the shell script. This prevents
potential code injection if the JSON contains special characters.
Move Windows registry test from test-system to test-integration
The Windows registry test (PEP 514 integration) tests Python installation
registration functionality rather than system Python detection like the
other tests in test-system, so it fits better in test-integration.