Small bug fixes for pthreads
adding ability to get unique id for pthreads
add in spin mutex specialization for osx
implement spinlocks for everyone else
small fix for threading on linux
make pthread_unique_id thread safe
remove caching from hermites