Allow users to create user-specified rules. Rules are saved in local storage and automatically loaded when the browser / extension starts up.

TODO:
This change does not allow users to edit/delete existing rules or to submit them to a central location.
This change doesn't support exceptions or cookie rules yet (but no reason they couldn't be easily added).

I also introduced a structure for a JS object that can be used to represent rules.
Remove jquery dependency
Merge pull request #1 from jsha/jsha.add-persistent-user-rules

Remove jquery dependency
fix code review comments: hide advanced options by default, add missing semi-colon, remove duplicate TODO
Added ruleset merger script

Merger script added.
TODO: fix it to work with the correct tree
Changed name to make it clearer
Fixup commit

For some reason, the file was not committed correctly. Re-doing the
commit-
Added 'git diff' generation

Used pyhton subprocess.call() to automatically generate the git diff and
save it in /tmp/ with a random filename
Merge branch 'master' of git://git.torproject.org/https-everywhere
Alexa ruleset checker working

The ruleset checker seems to be working: it downloads and unzips the
Alexa Top1M and automatically generates the git diff.
Comparing the two seems to be working as well.

Manually checked some rules: they seem to have been correctly identified
as in the Top 1M and not in stable
Force youtube.com's googlevideo.com XHRs to use https
When youtube is used in HTML5 mode, the web page makes XMLHttpRequests
to various subdomains of googlevideo.com. These requests return
the HTML5 video and/or audio file that is to be played on the
web page.
Merge branch 'master' of git://git.torproject.org/https-everywhere
Added rule limit and recognition of edited rules

Rule limit was implemented using csvReader.max_lines and breaking
the loop when it's hit
Implemented tecognition of edited rules via the "M" flag of git
diff.
Output was tidied up a bit to account for the different wording (used tabulation)
[eXelate] Don't rewrite from https for ads

Needless complexity.
[Intercom.io] Cosmetics
Revert "[DNTX.com] Simplify"

Thinko.

This reverts commit 16b826605c078bb2aa676de4a0425d9c736e1eae.
[38degrees] Added ruleset.
Merge branch 'master' of https://github.com/arthuredelstein/https-everywhere into arthuredelstein-master
[Canonical] Added support subdomain.
Merge pull request #148 from jpds/canonical-support-ruleset

[Canonical] Added support subdomain.