Push default branch logic down into repository, use default for Stash.

This seemed like a good idea.

@robolson @cheister