master,probe: Add the metadataserver-status command

Add a command which queries a master or shadow master server for its
status and current metadata version.

Change-Id: I9b13907a20a56b564d488939566df2411304087c