Cache branches for a project and use it on rate limit errors

Keep a copy of the branch list for a project and use it if we get a rate
limit error during a reconfiguration.

Change-Id: Ibaaae349f45e1e001a855f17adeb372f1b7bc0b0
1 file changed