pulse-server: add message handler to dump state

When the core object receives the 'internal:dump-state' message
with any parameters, it will use the previously added debug facilities
to dump the internal state of the server and send it back to the client.
45 jobs for pw_pulse_debug in 6 minutes and 50 seconds (queued for 5 seconds)