Updated pshell IPython setup code for v1.0.0

I updated the method that sets up the IPython shell within the pshell script. This will better support IPython v1.0.0 and up.