Added protocol relative checks to the isCrossDomain method.

- This ensures that protocol relative urls are handled correctly.

#2674
Added tests to verify that protocol relative URL's work correctly.

- Also modified existing test to use the isFalse and isTrue QUnit methods.

#2674
Delayed disconnecting the network in network mock to allow for messages to stop flowing.