Bug 994915 - Part 2: Add error handling in BackgoundPageThumbs for invalid URLs. r=adw