Revert "Bug 1090859 - Fixing race condition between applications.ready and SIM dialog"

This reverts commit bf6a6af71c7a3c003382df1130a46763bad63d03.
Bug 1090859 - Fixing race condition between applications.ready and SIM dialog
Merge pull request #26687 from albertopq/v2.1-1090859-2

Bug 1090859 - Fixing race condition between applications.ready and SIM dialog
Bug 1082444 - Handle additional events when FxA EntrySheet is displayed. r=ferjm

  * Specifically, listen for 'home', 'holdhome', and 'activityrequesting', and
    when those are caught, if the EntrySheet is open, close it.
  * Also, don't try to open the EntrySheet if navigator.onLine is false; show
    an error message instead.