Adjusted doc examples to Py3
Changed setup.py encoding to make 'python setup.py check -r' work in Python 2.X