enable PYTHONSTARTUP support in pshell

Fixes #1299 and replaces #1301