Make HTTPS Everywhere compatible with e10s (multiprocess firefox)

Work in progress. As of now, rewrites work and the basic UI features work.

fixes #447 #510 

TODO:
* check for backwards compatibility
In non-e10s, loadGroup is sometimes null here, which means that non-DOM-root requests aren't reflected in the UI :/