Separate the run and wait operations in ProcessSpawner.
Get rid of some dead code in ProcessSpawner.
Implement attach for debug session.

This commit keeps in place the now-empty SlaveSessionImpl. If it ends up
being purely useless, I'll get rid of it later when I restart working on
platform support.