python3 fixes
Merge pull request #1 from chid/py3

adding python3 support, which requires a python3 compatible snudown (e.g., https://github.com/chid/snudown)