Django 1.7 compatibility

- updated some deprecated stuff
- updated docs
- fixed the test runner to maintain backward compatibility.