Adjust middleware to current Django defaults

Signed-off-by: Michal Čihař <michal@cihar.com>
Remove not used setting

Signed-off-by: Michal Čihař <michal@cihar.com>
Use BASE_DIR to use same name as Django currently

Signed-off-by: Michal Čihař <michal@cihar.com>
Revert "Remove not used setting"

This reverts commit bd14f1d34fac1700239a130a669bcb225695ca42.
Fix settings

Signed-off-by: Michal Čihař <michal@cihar.com>
Force sane test runner (and silent Django 1.7 warning)

Signed-off-by: Michal Čihař <michal@cihar.com>
Turn method into property for Django 1.7 compatibility (bug #526)

Signed-off-by: Michal Čihař <michal@cihar.com>