Message: Don't crash if Inbox exists.
BlockedSubredditsByAccount: fix is_blocked method.
PromotionWeights: speed up queries by using `distinct`.

The queries are used to find the ids of PromoCampaign or Link objects
and we don't need the many (one per campaign per subreddit target per day)
PromotionWeights objects.
Feature flags: add subreddit filtering

Just like turning on a feature for only certain users can be useful, so can
turning it on for only certain subreddits.  In particular, this allows us to
get a little bit of the functionality of a full A/B suite without doing
terribly much work.
Feature: make user check case-insensitive

Since we're doing it for subreddits, we might as well for users, too.  It's an
easy mistake to make, so let's prevent it if we can.
Revert "Feature: make user check case-insensitive"

This reverts commit aac14d4d84b52bec3f57a402852daeccc5c8c21f.
Revert "Feature flags: add subreddit filtering"

This reverts commit f41d0ad229f3a38b1a567685519540ac340f5489.
install-reddit: Add REDDIT_PLUGINS variable.

This variable is used to tell the build system what plugins to clone and
register with the make process. It also works when the plugins are
already cloned and have local modifications.
install-reddit: Make idempotent

These changes make it so the install-reddit script is mostly self
healing and can be run many times in a row on the same machine. This
allows for more rapid iteration on development of the build process and
also easier updates for end users.
install-reddit: Domain configuration for .update

Added automatically updating the domain field in development.update
based on what is specified via environment variable to avoid
inconsistencies.
Fix OSX+Vagrant Captcha module loading problem
Inbox counts: Add dark unread counts badge, start writing to inbox_count
Inbox counts: fix typo in backfill script
Inbox_counts: corrections on deletes, spams, edits

Conflicts:

	r2/r2/controllers/listingcontroller.py
Inbox counts: fix drift on an empty inbox view
Inbox counts: Do not allow inbox_count to fall below zero
Inbox counts: only unnotify links and comments on remove.

Modmail messages can also apparently use POST_remove, as they're
associated with a subreddit. This wasn't effecting inbox counts, but it
was throwing a 500.

Conflicts:

	r2/r2/controllers/api.py
Inbox counts: Do not verify when db_writes are disallowed
Inbox counts: Stop reading from and remove reliance on msgtime

Conflicts:

	r2/r2/models/link.py
Inbox counts: Make count a link