Imported errorpage patch from bug 905297
Bug 891218 (part 1) - avoid using a DOM document in updateProvider - r=mixedpuppy
Bug 891218 (part 2) - host the social Frameworker in a remote browser.  r=?
Bug 891218 (part 3) - avoid using a DOM document in social.cookies-get message.  r=mixedpuppy?
Bug 891218 (part 4) - Fix worker reload tests.  r=?
Fix reload test to wait for pending messages
Fix chat_tearoff orange