Added an optional "branch" config for non-master repos.

Required for lifthrasiir/rust-encoding, which master tracks 0.8 and a separate branch tracks nightly.