Newrelic time measurements resolution

Fix newrelic time measurements.

newrelic_custom_metric function in multiplying value by 0.001 by itself. We need to multiply time by 1000 to account for that.

@nmonterroso - Take a look. It will affect your measurements. 
@Szumo