Only set crossorigin on images that are actually cross-origin.

Cross-origin URLs are detected automatically by comparing the URL to the document location.
Merge pull request #685 from AnalyticalGraphicsInc/smarterCrossOriginImages

Only set crossorigin on images that are actually cross-origin.