Process.duration compares millis to nanos

duration was always outputting very large numbers, because it compared systemTimeMillis to nanoTime. Converted to nanoTime.

added test: The first duration emitted should always be near zero.

Considered adding further properties to check later values,
but that is slow and never perfectly sure to be accurate on all
machines and all executions.