Create web2py.run() function to inject controller and function names into environment