Fixed repo.status() functions, added repository_status vim segment

Note: colors for repository_status segment are missing
Ref #173