tracing: update to dtrace-provider style emission

Remove the last vestiges of macros from the JavaScript portion of the
build system.

Implement tracing module, allow basic registration of static probes
previously defined for dtrace/etw/systemtap to be expressed in these
primitives.
tracing: only use arguments when probe enabled
tracing: simple on/removeListener implementations
refactor to prodiver support