Tiny cleanups in onBeforeRequest

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

This function makes little sense to me. I think the logic originally was:

If we lose the race to update cookies in onHeadersReceived, we can win it now in
onBeforeSendHeaders.

Unless I'm missing something, I think this *whole function* might be completely useless.

I'll open up an issue to discuss that in a bit.

Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
Let developers know about DEFAULT_LOG_LEVEL.

Since we are much more silent, let anyone who opens the console know that
DEFAULT_LOG_LEVEL can be adjusted to debug rules, etc.

Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
Drop trailing comma errors that break Closure, etc.

Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
Move redirect loop detection to prior block

No sense in testing the redirect counter right after we set it.

Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
Fix some tiny but annoying jslint errors

Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
High-severity messages accidentally logged twice

Signed-off-by: Nick Semenkovich <semenko@alum.mit.edu>
[Backpackers Lucerne] Added ruleset.
[Swiss.com] Enable by default always.
Merge remote-tracking branch 'jpds/backpackerslucerne-ruleset'
Merge remote-tracking branch 'negres/master'
[Sudo Room] add lists, door, explicitly redirect www.
[Pando] disable ruleset, wrong domains in certs
[Tumblr] disable 25.media.tumblr.com
- it returns a cert for a248.e.akamai.net
Merge branch 'assorted-cleanups' of github.com:semenko/https-everywhere into semenko-assorted-cleanups
[Yahoo] news.yahoo.com now covered
Merge branch 'sudoroom' of github.com:yardenac/https-everywhere into yardenac-sudoroom
Merge pull request #28 from andrewachen/master

[Yahoo] news.yahoo.com now covered
Merge pull request #27 from yardenac/badcerts

Disable some domains with bad cert hostnames
[Tumblr] Correct exclusion pattern