Heapprofiler API

Not finished (needs HeapGraph, GarbageCollector)
Implemented:
HeapProfiler.getProfileHeaders
HeapProfiler.startTrackingHeapObjects
HeapProfiler.stopTrackingHeapObjects
HeapProfiler.getHeapSnapshot
HeapProfiler.removeProfile
HeapProfiler.clearProfiles
HeapProfiler.takeHeapSnapshot
HeapProfiler.addProfileHeader
HeapProfiler.addHeapSnapshotChunk
HeapProfiler.finishHeapSnapshot
HeapProfiler.reportHeapSnapshotProgress
HeapProfiler.lastSeenObjectId
HeapProfiler.heapStatsUpdate

Related: #185


It's not clear to me where is this test triggering the heap snapshot. How comes the frontendClient events are emitted at all?