The notification system for thread works again now (so does thread_join() which makes use of it)
Added a few libc functions to libtest, updated the syscalls and added support for thread local storage for binaries.
Added a simple program which makes use of thread local storage (well, not really, but it demonstrates it anyhow)