(bug #56903) Introducing EntityInfoBuilder

EntityInfoBuilder provides an efficient way to collect information
about a set of entities.

Change-Id: I41e361c5b3db4b8721e92c3fff0fd11cc2218348