tasks: Pass state of task through to syscall handlers
Rudimentary working, but not nearly finished fork implementation