Add tests for LoginRequiredMiddleware
Add test runner script.
Make middleware raise ImproperlyConfigured if used without auth.

It used to just make an assertion. This seems closer to the django
pattern.
Add custom login url support to LoginRequiredMiddleware.
Merge pull request #18 from sdelements/feature/custom_login_urls

Feature/custom login urls
Increment version to 0.1.9
Update caching middleware to use other necessary caching headers

    * Added Pragma + expires header
Merge remote-tracking branch 'upstream/master'
Update Version Number
Expand No Cache headers

    add max-age to Cache Control Header
Merge pull request #19 from JeffBain/master

Fix Caching
PyPi version of django security this build.
Reference class objects using self in middleware code.

I hope I'm not missing some obvious reason why we were doing things the
way they were.
Update tests to match behaviour of login required middleware.

I don't know how these tests were passing before. Jeff B changed the
logic for the login required middleware to send a 401 response when a
request is unauthenticated and from AJAX.
Make django-security timezone aware.

- Stopped using min date and max date as special values for password
  expiry logic. New logic:
  - to expire password, set its expiry date to the current datetime
    (which will instantly become the past)
  - to indicate a password that will never expire, set the password
    expiry date to None
Merge pull request #20 from sdelements/feature/time_zone_support

Feature/time zone support
Increment version in setup.py
Fix broken test.

We need to include /admin_password_reset/ as an exempt URL for the test
suite to pass.
Make middleware handle dynamic settings changes, and be less tolerant of invalid settings.
Fix signature of signal handler