Implement AUTO_FREE flag for thread_create
posix: add pthread wrapper
added pthread test case
Use reaper thread in pthread_create