Remove TransactionMiddleware from tests configuration in Django 1.6
reversion 1.8+ compatibility
Fix permmod tests on Django 1.6