Added HeapProfiler._lookupHeapObjectId

Closes #473

Serializing and caching of logic moved from consoleAgent to injectorServer to be available from heapProfilerAgent.
This change looks suspicious to me. Is it safe to assume that both `result` and `result.result` is always defined?

How about other commands, then don't need to convert the result from V8 to Inspector format?