Avoid subprocess call for repository initialization.
Repo.branch(): Default to repo HEAD if no commit_sha was specified.
Simplify staging by calling out to dulwich convenience function.

Fixes some tests.
Cope with changes in branch_list() API
Pass DIR to Repo.status, as it is now mandatory.
Merge pull request #39 from jelmer/fix-gittyup-tests

Fix gittyup tests.