Fix ImportError's on Python3
Encode email before hashing
Merge pull request #1 from utdemir/master

Python 3 support