Fixes for the script_exec() GUI test base method.
This now adds 'pi' to the namespace in which the scripts are executed in.
Authored by: bugman 2012-05-28
Parent: [r16473]
Child: [r16475]