Move TraceInfo into memory_trace namespace.

In addition, expose the TypeToName function and add some accessor
functions in TraceInfo.

This is for use by the new memory_trace_analysis tool.

Test: All unit tests pass.
Change-Id: Ic9562e4fa99fa253277d2989f2e72c7c4eb0e3a0
5 files changed