Added I/O Redirection Framework

Ysh.c lines 260-280. Currently commented out, but it's fairly well
documented.