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
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)
Merge branch 'master' of git://git.torproject.org/https-everywhere
Merge branch 'master' of git://git.torproject.org/https-everywhere
Edited to raise IOError for Python < 3.3.4

In Python < 3.3.4 the FileNotFound exception is not present.
As some filenames have weird encodings, and it's too problematic to fix
the code to consider those, the FileNotFound error approach has been
mirrored to work with Python < 3.3.4
[OpenStreetMap] enable the main site, except for /edit
- the editor was breaking in firefox https://trac.torproject.org/projects/tor/ticket/8841
- rather than fix the bug, OSM seems to be redirecting their editor to port 80 https://github.com/openstreetmap/iD/issues/1435
- no securecookies until that is fixed :/
[OpenStreetMap] not just the wiki anymore!
- in the months since that bug report, https was deployed on the main site and seems to work
[OpenStreetMap] add help, lists, trac
Run Chrome incognito in split mode

Since we now have a LRU cache, be very paranoid about the
incognito <-> normal browsing boundary. This runs the extension
in a separate process in incognito mode (no shared cache, etc.)

Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
Fix host-only cookie duplication & leak

Currently we create duplicate cookies (!) for host-only cookies, one
secure, one insecure. This is because we're always setting the domain
parameter, regardless of the hostOnly value.

See: http://developer.chrome.com/extensions/cookies.html#method-set

Closes issue #159

Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>