Python 3.3 compatibility

Use the django.six layer to add Python 3.3 compatibility