Return elapsed nanoseconds on TimerContext.stop().

This allows, for instance, for the elapsed time to be logged
immediately.

This is a back-port of pull-request #271, for the 2.x branch.