Fix flake8 errors.
Fixed dependencies.
API logging adapted for Mopidy.
Adapted readme to the cookiecutter style.