Update metrics::Timer::stop to return elapsed time.

Review: https://reviews.apache.org/r/24537
Added batch sizes and timings to the Registrar logging.

Review: https://reviews.apache.org/r/26535
Support lxc configurations in docker containerizer