Adds supporting for WinRT. Fixes WindowsPhone sln.

NETFX_CORE stands for the #define flag for WinRT.
Fixes WindowsPhone build.
Caches assembly objects for WinRT
Merge pull request #283 from abattery/master

Adds supporting for WinRT. Fixes WindowsPhone Build.