Store layer digests on pull
Store layer digests on pull

Currently digests are not stored on pull, causing a simple re-tag or re-push to send up all layers. Storing the digests on pull will allow subsequent pushes to the same repository to not push up content.
This does not address pushing content to a new repository. When content is pushed to a new repository, the digest will be recalculated. Since only one digest is currently stored, it may cause a new content push to the original repository.

Fixes #13883

Signed-off-by: Derek McGowan <e1c79a582b6629e6b39e9679f4bb964d25db4aa8@mcgstyle.net> (github: dmcgowan)
(cherry picked from commit a98ea87e463383a77d7244c78c9da3ac9f2cd086)

AdamOssenford/docker-pi,AdamOssenford/docker-pi,AdamOssenford/docker-pi