use six to check if strings need encoding to bytes before hashing
exclude django 1.3 and 1.4 from travis testing