Add python 3 support
Always set a.value, handle bytes
Merge pull request #14 from brutasse/feature/py3

Add python 3 support