Adding Train Library + Many Fixes

ASSERT now uses bwprintf and disables interrupts.

bwio is now inside stdio.

Flush system call exists for tests to wait on the io server
to finish.

Bug fixes in ioserver.c and string.c.

Syscall.c no longer uses a global Request object.