Fixed tests not running on device for Windows Phone and Store

WinRT component hosting the tests builds against the release CRT to keep the consistency with libeay and ssleay
libeay and ssleay were linking against the desktop CRT instead of the store one for ARM and Win64
Keep optimizations in the debug build by default
Merge branch 'WinRT' of https://github.com/Microsoft/openssl into WinRT