Refactored test runner.
Add badges.
Add .travis.yml file.
Fix compatibility with django <= 1.6