Expose proper DOM window to the add-on code.
Merge pull request #815 from Gozala/bug/addon-window@820953

Bug 820953 - Expose DOM window to the add-on r=@ochameau