Console serializing and caching logic moved to InjectorServer
Added HeapProfiler._lookupHeapObjectId

Closes #473
Modified DebuggerAgent.getFunctionDetails

DebuggerAgent.getFunctionDetails modified to correctly lookup
heap snapshot and console message functions.

Closes #474
Fixed issue #478