WinRT API certification fixes.

All restricted WIN32 API replaced with analogues for all modules, except ts and highgui;
ENABLE_WINRT_MODE cmake option added.