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.
The other places I don't think have large data sets, so this one place should be the only one I know of that needs the special treatment.