Bug 287107 - make Components.returnCode be the xpcom nsresult if set by js components. r=bholley