Bug 857598: Ensure waiting for session restore event before running the addon.
Merge pull request #916 from ochameau/bug857598

Bug 857598: Ensure waiting for session restore event before running the addon. r=@mossop