Bug 852315 - Use CheckPluginStopEvent for plugins when documents go inactive. r=bsmedberg a=bbajaj