More sensible/better stdio host

Rewritten to use stream IO rather than lowlevel funcs. Works better
interactively and works better in scripts.
Flush stdout as necessary at appropriate time
Initial python spike for stdio introspection mechanics
Add notes on runtime dependencies