Remove use of Components.interfaces in FF.

This was only used to provide a shim for Firefox. Components is
deprecated as described in:
https://developer.mozilla.org/en-US/docs/Components_object
Now we simply iterate over appropriate properties on the window.
Merge pull request #1417 from francoisfrisch/firefox-components

Remove use of Components.interfaces in FF.