Add a GetHeapType function to HeapInterface.

A further CL will integrate use of this in reporting.

BUG=
R=siggi@chromium.org

Review URL: https://codereview.appspot.com/191250043