Moving a few status functions to this source tree.

They allow the status page of vttablet to be better.
Also testing this code in vtctld_test, so we make sure the
templates work. And manual inspection works very well too.
Merge branch 'replication'