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

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