Make compatible with Python3
Bump version 0.12
Fix test
Merge pull request #21 from hfaran/python3_compat

Make compatible with Python3