Add tox for tests, fix urls imports

I add tox in project and one small test. Fix urls import.
Now tests are valid for python2.6, python2.7, python3.3 and django 1.3 - 1.7.