Add python3 compatibility with working tests.
Merge pull request #7 from bpeschier/python3

Add python3 compatibility with working tests.