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.
I can add a `compat.itervalues()`. Any other places where it's important to keep the iterative variant?