Bug 858044 - Make addon startup code more resilient by using nsISessionStore.restored

https://bugzilla.mozilla.org/show_bug.cgi?id=858044