Create 'master' branch, use head as a pointer to branch label & fix resolve

Resolve should be used in bin/* so that head can eventually be used to
directly point to a commit when a branch is not present.