optimize image sync by introducing reference image version, cc @regilero
Bunch of optimizations
Merge pull request #23 from makinacorpus/stable

Stable