[Firefox add-on] Clean up directory
[Firefox add-on] Window activation events more robusts when several windows

Since there is only one active tab across all the windows, switching between
two windows will generate both a window activation, and tab activation event
for the window being switched to. By keeping track of the previously focused
window, we disable the activation event for the window being switched to.