Introduce restart --only-if-changed

When the --only-if-changed flag is passed to the restart command, the
container is only restarted if the underlying image has changed.

Signed-off-by: Maxime Petazzoni <maxime.petazzoni@bulix.org>