Make signals work as expected

For example, ^C should result in the runner process receiving SIGINT.

Also, fixup the PTY so that e.g. arrow keys work correctly to cycle
through the command line history in "spring console".

Fixes #5.