InternalAnd refactor; use nsIURI Equals vs. strcmp