fixed python 3 related issues
added django 1.7 support