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
Update Tchibo.xml

Rebased
add rule for Kabelkiosk.de
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)
Update Swisscom.ch.xml

subdomains added
Merge remote-tracking branch 'upstream/master'
Update Swisscom.ch.xml

fixed
Update Tchibo.xml

fixed
Update Coop.ch.xml

rebased
Merge remote-tracking branch 'upstream/master'