Added in support for pthread_detach
Merge branch 'master' of http://github.com/phpbakery/pthreads into detach
detach support, improved unserialize safety