Added HeapProfiler._lookupHeapObjectId

Closes #473

Serializing and caching of logic moved from consoleAgent to injectorServer to be available from heapProfilerAgent.