Locked down the signature of Repo#sync

Locked down the signature of Repo#sync with unit tests and an accurate representation in the README.

`Repo#sync([[remote, ]branch, ]callback)`