Introducing Entity::getAllSnaks

This logic was factored out of ReferencedEntityFinder,
to improve testability, and to be able to use it for
future ReferencedUrlFinder, ReferencedImageFinder, etc.

Change-Id: Iae5f7817cfe17bbfe03ddb0ffeabf04bc59742bd