Implement Repository.lookup_branch. Constants for local and remote branches.
Implement Repository.listall_branches.
Implement Repository.create_branch.
Implement Branch.delete.
Implement Branch.is_head.