Fixed detection of windows

Windows browser detection, and the associated unit tests, were using SC.OS.windows as a constant, when they should have been using SC.OS.win.

I also added an additional unit test that will throw a failure if an expected property is not set/null.