[TIMOB-16374] Fixed bug with how absolute paths are resolved for Windows Phone where location.pathname does not being with a forward slash. Also changed the browser base directory to the App directory.
[TIMOB-16386] [TIMOB-16421] Refactored the Visual Studio and Windows Phone environment detection to be more bulletproof.
[TIMOB-16386] Finished updating the hooks to use the updated detection system.
[TIMOB-16374] Fixed initial app URL.
Merge pull request #5387 from cb1kenobi/timob-16374_3_2_X_hybrid

[TIMOB-16374] Fixed bug with how absolute paths are resolved for Windows...
Merge pull request #5398 from cb1kenobi/timob-16386_3_2_X_hybrid

[TIMOB-16386] [TIMOB-16421] Refactored Windows environment detection