Collect usage tracking info in ParserOutput.

During parsing, collect info about which entity is used how on which page,
and store that info in the ParserOutput, to be cached along with HTML output.

Bug: 64588
Change-Id: I0d342700c14f7566d7c1eefa80f482068bd8b362
Merge "Collect usage tracking info in ParserOutput."