Fix for broken WinRT and WP8 builds caused by change to rapidjson

This pull request fixes broken WinRT and WP8 builds by the change to rapidjson. 

libextensions has been updated for WinRT and WP8.