Correctly decode the logs stream and support stdout/stderr filtering

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Code style fixes

Signed-off-by: Maxime Petazzoni <max@signalfuse.com>
Merge branch 'logs-encoding' of https://github.com/mpetazzoni/docker-py