Item13023: Rework for FCGI

Add unit tests for Nginx, and Windows.
Add a fallback to SCRIPT_URI for the DefaultUrlHost
Remove some duplidate code.
Add a unit tests for the methods of assigning DefaultUrlHost

This still requires merge into core/lib/Foswiki/Configure/Load.pm