Fix unsupported lookup
Fix import change
Add MIDDLEWARES to test settings
Add testenv for python 2.7 and django 1.7
Setup Django’s 1.7 application environment