Implement pull download indicator
Implement pull download indicator

When pulling an image from the registry is requested or required, use
the streamed progress information during the pull to show a download
progress indicator, based on the average of the download progress of all
image layers (as such, it's possible the value may decrease at the
beginning until all layers become "known" through the stream).

Signed-off-by: Maxime Petazzoni <0706025b2bbcec1ed8d64822f4eccd96314938d0@signalfuse.com>

signalfx/maestro-ng,zsuzhengdu/maestro-ng,Anvil/maestro-ng,ivotron/maestro-ng,zsuzhengdu/maestro-ng,jorge-marques/maestro-ng,ivotron/maestro-ng,signalfuse/maestro-ng,signalfx/maestro-ng,jorge-marques/maestro-ng,signalfuse/maestro-ng,Anvil/maestro-ng