Add descriptive error when ES finds no digest for given digestId
S-47060
Tests for when eventStoreClient returns an error. Return HTTP 500.
S-47060
Removed duplicated function getLinkForRel
S-47060