moved pthread code to CCPThreadWinRT
use CCPThreadWinRT
added missing CocoStudio files
Merge pull request #4261 from MSOpenTech/winrt-libextensions

[ci skip]Winrt libextensions fix