Add support for rate-limiting the sending API.

Summary:
Limit each account to a quota of 300 sent messages (by default) in a rolling 24
hour window. The quota value can be changed via the DEFAULT_SENDING_LIMIT
config value.

Fixes T449.

Test Plan: Unit test added.

Reviewers: spang, kav-ya

Reviewed By: kav-ya

Maniphest Tasks: T449

Differential Revision: https://review.inboxapp.com/D796
Refresh ES index after recreation so tests pass with repeated creation/deletion.
Test bulk indexing.
New indexer - wip.
As a service.
Fixes for index_id, object_repr stored.
TODO: Handle deletes.
Handle deletes.
TODO:
1. Verify updates work as is.
2. Persist txn. ptr.