Added a referenced dict to containers, which is filled during
verification and contains a mapping of entity references to sets of
files in which they are referenced.