resched reasons
-- log reasons for resched - 1 --
add logging reasons
log events like requested + move logging to right place
add more reasons
make test.c as needed
small fix
some fixes to test.c
added logger_debug function
some fixes to sched.c