cluster: enable error and message events using cluster.worker

Between 0.11.1 and 0.11.2, the `message` and `error` events stopped being usable via the `cluster.worker` object. This commit makes them usable again. Closes #7998.
Don't call process.exit() in tests, it tends to hide bugs.