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.
This really sucks on 2.7 if we need to construct a list of all the tracks when we know we will be iterating over them :(