Put both the window URL and the test URL through an anchor.

Fixes an inconsistency in IE between a.href and window.location about whether default ports are included or not.
Merge pull request #723 from AnalyticalGraphicsInc/fix_isCrossOriginUrl_in_ie

Fix isCrossOriginUrl in IE for real