Refactor repository state display.
Refactor repository state display.

Separate out the extraction of branch and status information
from the decision to display anything for a particular repository.

Change-Id: I7cc617d1218ad6769709863b1904f65a197a3b97

BUG=None
TEST=Run willis, see that the output is unchanged by this refactor.

Review URL: http://codereview.chromium.org/6334150

mgireesh05/dev-util,coreos/dev-util,mgireesh05/dev-util,marineam/coreos-dev-util,marineam/coreos-dev-util,coreos/dev-util,mgireesh05/dev-util,coreos/dev-util