Introduced exponential backoff for slave registration retries.

Review: https://reviews.apache.org/r/20502
Fixed a compiler warning in Statistics.