Moved PyInstaller docs to its own file.
Rewrote run_tests script in Python.