Python 3 compatibility

I used `python-modernize` and `pylint --py3k` to find and fix most Python 3 compatibility issues in Mopidy.

This moves us a bit closer to fixing #779.