Fix the CSS loader from polling infinitely

There are two separate problems I've fixed:

 - Keeping the `link.id` around for browsers where the onload handler is getting called natively before the poller gets to it
 - Setting a "loaded" bit on the link so that the poller knows to stop (particularly useful for browsers that restrict access to `sheet.cssRules` when the stylesheet comes from an alternative domain)