Improvemnt for portalalias redirect

Still struggling with git management. So maybe this pull request will have too many files. The only relevant file for this pull request is: HttpModules/UrlRewriteModule.cs
New feature: Portalalias redirection will be ignored when running in localhost. This makes it easier to us a localhost debug alias and still have redirect configured.