modified utils.py in order to work properly with python2 and python3
added python3 and django 1.7.1 support in travis.yml