Python error traceback is now logged to stderr. On Windows, a console window will pop up if wxTheApp gets destroyed, because message dialogs crash due to hooks that wxWidgets sets up. Fixes https://gitlab.com/kicad/code/kicad/-/issues/15520
Separates the python scripts into those using swig and those needed for other scripting