Provide middleware classes for django1.7