Merge pull request #25 from kravietz/master

Django 1.5 and documentation fixes
Fix tests and update version.
Tidy up existing throttling middleware.

The code was old, and doing things in a non-standard way.
Allow for more open-ended throttling.

We can look up usernames from JSON request bodies, and will simply
return 429 for requests that don't map to django templates.
Clean up changes to auth_throttling middleware.

Delay function can be supplied, but it is optional. A default delay
function is provided. Some of the functions used to do throttling are
now exposed, so that they could be used to do throttling outside of the
middleware.
Fix throttling code.

Fix bug in last commit, and switch to username only throttling function
after discussion with content team.
Update tests for new functionality.

Verify our default delay function, and verify we return 429 when we have
no template to update.
Merge pull request #26 from kravietz/master

Quick-start documentation in README
Update version of library.
Merge branch 'master' of github.com:sdelements/django-security
Merge pull request #27 from sdelements/auth_throttle_ajax

Auth throttle ajax
Fix MANIFEST.
Fix caching bug in auth_throttle.

We weren't setting a timeout on our set_many call, so the keys used to
look for bad requests would disappear after 5 minutes, the default
timeout in django.
Use system json.

We don't need to use the JSON from django.
changed to PickleSerializer to work with datetime
Merge pull request #29 from sdelements/django-1.6-upgrade

Fix for breaking changes in Django 1.6
Update version number.
Merge branch 'master' of https://github.com/sdelements/django-security