test,debug,cluster: even more code cleanup

Use assert(false, msg) instead of assert.ok(false, msg).

Use internalMessage event to signal NODE_DEBUG_ENABLED.