Make repo.Head a wrapped branch, and use it in tests
Bump version to 0.1.3