added function for getting a GitPython Repo object.
Reworked dvcs.list_staged() function
refactored repo status flag functions

Reworked unctions for indicating repository status (ahead, behind,
diverged, conflicted) using git status' short format, which is
easier to parse and is supposed to be less likely to change.