Added old python files from PythonQT branch

These files probably require changes to make them compatible with the
updated scripting engine again.