fix($compile): mark urls unsafe in IE6 and IE7

IE6 and IE7 do not return absolute URLs when querying the href property.
The white list comparison requires a full URL so this tests for
IE7 and below and adds the protocol and host back to the URL.

Closes #2901