Initial support for Windows Phone
Fixes in windows phone support
Fixed tests for Windowsphone
Merge pull request #71 from pskt/windows-phone

Windows phone support