Fix for  WP8 Unit test - Issue #374

DesignModeDetector would break when attempting to run unit tests for WP8
throwing UnauthorizedAccessException