Implement ghc-debug API
Implement functions that are needed by ghc-debug. These are functions to pause and unpause the RTS and to traverse the heap.
Pausing is needed because otherwise the heap might change during traversal and show an inconsistent state.
(Un-) pausing functions:
This ticket is created as a future reference. (We always add ticket numbers to commits.)
There already is a merge request: !1435