changes to thread code (directly use boost::thread)

- removes our NewThread() function an replaces these calls with
  boost::thread with our TraceThread template
- remove ExitThread() function
- fix THREAD_PRIORITY_ABOVE_NORMAL for non Windows OSes