Add unit tests
Fix unit tests for Django 1.5
Add Travis CI configuration