Add functionality for getting branches for a remote.
Flatten onto added Branches.
Update refs handling to normalize the format we store refs in.
Add Branch and Tag methods to Ref.
Fix logic in loading a raw ref.