Added login rate limiting feature in Djblets auth and web api

Review Request #8698 — Created Feb. 1, 2017 and submitted — Latest diff uploaded

Information

Djblets
master
7531c49...

Reviewers

Developed rate-limit for failed login attempts through either the UI
or API. See review request 8768 to see it's implementation in Review
Board's Authentication form.

Create several unit tests for the login rate limiting feature that
test the rate limits as either custom or default values. They are
found in djblets/auth/tests/test_ratelimit.py and in
webapi/tests/test_api_auth_backend.py.