[winrt support] Enabling Boost.Thread to be used in the Windows Runtime.

This involves basically 3 changes:
1. Using __declspec(thread) instead of the Tls APIs.
2. Using Windows::System::Threading since Win32 Threading APIs aren't allowed.
3. Updating or replacing some banned APIs like WaitForSingleObject with WaitForSingleObjectEx.
I updated to not remove the attributes overload version, it is now just silently ignored if you use on the Windows Runtime.