Get test executables compiling on Windows.

Many of the test executables use pthreads directly.  This isn't
portable on Windows, so this patch converts these test to use
C++11 threads and mutexes.  Since Windows' implementation of
std::thread classes throw and catch from header files, this patch
also disables exceptions when compiling with clang on Windows.

Reviewed by: Todd Fiala, Ed Maste

Differential Revision: http://reviews.llvm.org/D4816

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@215562 91177308-0d34-0410-b5e6-96231b3b80d8