Redirects the runPythonScript method to the app object @param code :: A string of code to execute @param asynchronous :: If the true the code is executed in a separate thread @param quiet :: If true no messages reporting status are issued @param redirect :: If true then output is redirected to MantidPlot