Parrot startup

Various improvements for Parrot's startup procedure.

The most important change is to add debug output that dumps the command-line and environment.