Added elected time to master's web ui.

Review: https://reviews.apache.org/r/21501